mirror of
https://github.com/maciejpedzich/playlist-entry-validator.git
synced 2024-11-27 16:05:48 +01:00
Remove redundant curly braces in urlFilename check
This commit is contained in:
parent
89b6aba98a
commit
0d99a94b55
4
bot.ts
4
bot.ts
@ -155,9 +155,7 @@ export const bot: ApplicationFunction = (app) => {
|
||||
|
||||
let urlEntriesToRenameText = '';
|
||||
const urlFilenameEntries = playlistLookupResults.filter(
|
||||
({ found, filename, url }) => {
|
||||
found && filename === url;
|
||||
}
|
||||
({ found, filename, url }) => found && filename === url
|
||||
);
|
||||
|
||||
if (urlFilenameEntries.length > 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user