Skip to content

Commit 85a7c9d

Browse files
committed
fixes mkdirSync
1 parent b41cd14 commit 85a7c9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/LocalBinary.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function LocalBinary(){
2222

2323
this.download = function(destParentDir, callback){
2424
if(!this.checkPath(destParentDir))
25-
fs.mkdirSync(path);
25+
fs.mkdirSync(destParentDir);
2626

2727
var binaryPath = path.join(destParentDir, 'BrowserStackLocal');
2828
var file = fs.createWriteStream(binaryPath);

0 commit comments

Comments
 (0)