diff --git a/appFn.ts b/appFn.ts index 04d6a7b..c3b3781 100644 --- a/appFn.ts +++ b/appFn.ts @@ -176,7 +176,13 @@ const appFn: ApplicationFunction = (app: Probot, { getRouter }) => { // .concat(authorName as string); // details = playlistMeta.join(' · '); - details = title! + '· ' + description; + details = ( + title + + ' · ' + + description!.replace('Playlist · ', '') + ) + .replace(/\s+/g, ' ') + .trim(); } numProcessedEntries++;