Skip to content
This repository has been archived by the owner on Dec 3, 2023. It is now read-only.

Commit

Permalink
spawn ENOENT in win
Browse files Browse the repository at this point in the history
move comment
  • Loading branch information
przemyslawpluta committed Feb 12, 2014
1 parent a816720 commit b6191c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/youtube-dl.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ exports.download = function(urladdr, dest, args) {
var query = url.parse(urladdr, true).query;
var id = query.v || '';

// Call youtube-dl.
var speed = [];
var start = Date.now();

Expand All @@ -56,6 +55,7 @@ exports.download = function(urladdr, dest, args) {
// check if win
var isWin = /^win/.test(process.platform);

// Call youtube-dl.
if (!isWin) {
youtubedl = spawn(file, args, { cwd: dest });
} else {
Expand Down

0 comments on commit b6191c8

Please sign in to comment.