Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Commit

Permalink
fix(webdriver-manager): unzipping chromedriver should override old ve…
Browse files Browse the repository at this point in the history
…rsion

See #1813
  • Loading branch information
juliemr committed Feb 15, 2015
1 parent 391ab0f commit ccb165d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/webdriver-manager
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ switch (argv._[0]) {
// Expected contents of the zip:
// mac/linux: chromedriver
// windows: chromedriver.exe
zip.extractAllTo(argv.out_dir);
zip.extractAllTo(argv.out_dir, true);
if (os.type() != 'Windows_NT') {
fs.chmodSync(path.join(argv.out_dir, 'chromedriver'), 0755);
}
Expand Down

0 comments on commit ccb165d

Please sign in to comment.