mirror of
https://github.com/maciejpedzich/playlist-entry-validator.git
synced 2024-11-27 16:05:48 +01:00
Ensure system playlist link text is formatted correctly
This commit is contained in:
parent
87b7723e32
commit
f2c99ea418
8
appFn.ts
8
appFn.ts
@ -176,7 +176,13 @@ const appFn: ApplicationFunction = (app: Probot, { getRouter }) => {
|
|||||||
// .concat(authorName as string);
|
// .concat(authorName as string);
|
||||||
|
|
||||||
// details = playlistMeta.join(' · ');
|
// details = playlistMeta.join(' · ');
|
||||||
details = title! + '· ' + description;
|
details = (
|
||||||
|
title +
|
||||||
|
' · ' +
|
||||||
|
description!.replace('Playlist · ', '')
|
||||||
|
)
|
||||||
|
.replace(/\s+/g, ' ')
|
||||||
|
.trim();
|
||||||
}
|
}
|
||||||
|
|
||||||
numProcessedEntries++;
|
numProcessedEntries++;
|
||||||
|
Loading…
Reference in New Issue
Block a user