From 788e907502a095c9eed8998bf3880515b925c5e5 Mon Sep 17 00:00:00 2001 From: clujin Date: Sat, 6 Oct 2018 19:14:03 -0700 Subject: [PATCH] remove semicolon --- src/renderer/lib/torrent-poster.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/lib/torrent-poster.js b/src/renderer/lib/torrent-poster.js index 50169138..01af8bf9 100644 --- a/src/renderer/lib/torrent-poster.js +++ b/src/renderer/lib/torrent-poster.js @@ -110,7 +110,7 @@ function scoreAudioCoverFile (imgFile) { function torrentPosterFromAudio (torrent, cb) { const imageFiles = filterOnExtension(torrent, mediaExtensions.image) - if (!imageFiles.length) return cb(new Error('Generated poster contains no files')); + if (imageFiles.length === 0) return cb(new Error('Generated poster contains no files')) const bestCover = imageFiles.map(file => { return {