Skip to content

Commit

Permalink
callback fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Christiaan Maks committed Jun 6, 2016
1 parent d310c86 commit 631b06a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/download_track.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ module.exports = function(session) {
// skip if already exists
if (fs.existsSync(destiny + '.mp3')) {
console.log('File already exists, skipping: ' + tracktitle)
return callback(null, tracktitle + '.mp3')
return callback(null, tracktitle)
}

console.log('Downloading: ' + tracktitle)
Expand Down

0 comments on commit 631b06a

Please sign in to comment.