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

Commit ccb165d

Browse files
committed
fix(webdriver-manager): unzipping chromedriver should override old version
See #1813
1 parent 391ab0f commit ccb165d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/webdriver-manager

+1-1
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ switch (argv._[0]) {
290290
// Expected contents of the zip:
291291
// mac/linux: chromedriver
292292
// windows: chromedriver.exe
293-
zip.extractAllTo(argv.out_dir);
293+
zip.extractAllTo(argv.out_dir, true);
294294
if (os.type() != 'Windows_NT') {
295295
fs.chmodSync(path.join(argv.out_dir, 'chromedriver'), 0755);
296296
}

0 commit comments

Comments
 (0)