remove semicolon
This commit is contained in:
@@ -110,7 +110,7 @@ function scoreAudioCoverFile (imgFile) {
|
|||||||
function torrentPosterFromAudio (torrent, cb) {
|
function torrentPosterFromAudio (torrent, cb) {
|
||||||
const imageFiles = filterOnExtension(torrent, mediaExtensions.image)
|
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 => {
|
const bestCover = imageFiles.map(file => {
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user