From 1140c3e2e7924d054df51b61147ddb47131f167c Mon Sep 17 00:00:00 2001 From: Araxeus Date: Fri, 7 May 2021 23:40:14 +0300 Subject: [PATCH] lint --- plugins/downloader/back.js | 2 +- providers/song-info.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/downloader/back.js b/plugins/downloader/back.js index 31a929aa..ac32623d 100644 --- a/plugins/downloader/back.js +++ b/plugins/downloader/back.js @@ -47,7 +47,7 @@ function handle(win) { const songMetadata = { ...metadata, ...currentMetadata }; if (!songMetadata.image && songMetadata.imageSrc) { - songMetadata.image = await getImage(songMetadata.imageSrc) + songMetadata.image = await getImage(songMetadata.imageSrc); } try { diff --git a/providers/song-info.js b/providers/song-info.js index 6833fb8f..15b51459 100644 --- a/providers/song-info.js +++ b/providers/song-info.js @@ -38,7 +38,7 @@ const getArtist = async (win) => { artistName.textContent; } ` - ) + ); } // Fill songInfo with empty values @@ -109,7 +109,7 @@ function cleanupArtistName(artist) { } for (const suffix of suffixesToRemove) { if (artist.endsWith(suffix)) { - return artist.slice(0, -suffix.length) + return artist.slice(0, -suffix.length); } } return artist;