Remove redundant curly braces in urlFilename check
This commit is contained in:
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) {
|
||||
|
||||
Reference in New Issue
Block a user