diff --git a/lib/get-binary.js b/lib/get-binary.js index 08e462f..052af1a 100644 --- a/lib/get-binary.js +++ b/lib/get-binary.js @@ -8,7 +8,7 @@ const detailsPath = path.join(binPath, 'details') module.exports = () => { if (!existsSync(detailsPath)) { - throw new Error('ERROR: unable to locate `youtube-dl` at ' + binPath) + return console.error('ERROR: unable to locate `youtube-dl` at ' + binPath) } const details = JSON.parse(readFileSync(detailsPath))