Use object shorthand for properties
This commit is contained in:
@@ -117,7 +117,7 @@ function torrentPosterFromAudio (torrent, cb) {
|
||||
|
||||
const bestCover = imageFiles.map(file => {
|
||||
return {
|
||||
file: file,
|
||||
file,
|
||||
score: scoreAudioCoverFile(file)
|
||||
}
|
||||
}).reduce((a, b) => {
|
||||
|
||||
Reference in New Issue
Block a user