remove semicolon

This commit is contained in:
clujin
2018-10-06 19:14:03 -07:00
parent bb4eb523fe
commit 788e907502

View File

@@ -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 {