mirror of
https://github.com/maciejpedzich/playlist-entry-validator.git
synced 2024-11-28 00:15:48 +01:00
Remove extra ) in GitHub new file page URL
This commit is contained in:
parent
9ac861a397
commit
1d28169283
2
bot.ts
2
bot.ts
@ -162,7 +162,7 @@ export const bot: ApplicationFunction = (app) => {
|
|||||||
const baseUrl = `${payload.pull_request.head.repo.html_url}/new/main/playlists/registry/FOO`;
|
const baseUrl = `${payload.pull_request.head.repo.html_url}/new/main/playlists/registry/FOO`;
|
||||||
const linkList = urlFilenameEntries.map(({ url }) => {
|
const linkList = urlFilenameEntries.map(({ url }) => {
|
||||||
const playlistId = getPlaylistIdFromUrl(url);
|
const playlistId = getPlaylistIdFromUrl(url);
|
||||||
const createFilePageUrl = `${baseUrl}?filename=${playlistId}&value=REMOVE%20THIS%20TEXT%20FIRST)`;
|
const createFilePageUrl = `${baseUrl}?filename=${playlistId}&value=REMOVE%20THIS%20TEXT%20FIRST`;
|
||||||
|
|
||||||
return `\t- [Create \`${playlistId}\`](${createFilePageUrl})`;
|
return `\t- [Create \`${playlistId}\`](${createFilePageUrl})`;
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user