Skip to content

Commit c48143c

Browse files
committed
chore(release): bump version to 12.1.6 (#406)
- fix #394 with update.ts try catch issue - fix formatting issues
1 parent b6e6613 commit c48143c

File tree

5 files changed

+38
-15
lines changed

5 files changed

+38
-15
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 12.1.6
2+
3+
Update the max Chrome version to 76.
4+
15
# 12.1.5
26

37
Update the max Chrome version to 75.

lib/binaries/chrome_xml.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export class ChromeXml extends XmlConfigSource {
108108
private getSpecificChromeDriverVersion(inputVersion: string): Promise<BinaryUrl> {
109109
return this.getVersionList().then(list => {
110110
const specificVersion = getValidSemver(inputVersion);
111-
if (specificVersion === "") {
111+
if (specificVersion === '') {
112112
throw new Error(`version ${inputVersion} ChromeDriver does not exist`)
113113
}
114114
let itemFound = '';

lib/cmds/update.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -249,10 +249,10 @@ function unzip<T extends Binary>(binary: T, outputDir: string, fileName: string)
249249
if (fileName.slice(-4) == '.zip') {
250250
try {
251251
let zip = new AdmZip(path.resolve(outputDir, fileName));
252+
zip.extractAllTo(outputDir, true);
252253
} catch (e) {
253254
throw new Error(`Invalid filename: ${path.resolve(outputDir, fileName)}`)
254255
}
255-
zip.extractAllTo(outputDir, true);
256256
} else {
257257
// We will only ever get .tar files on linux
258258
child_process.spawnSync('tar', ['zxvf', path.resolve(outputDir, fileName), '-C', outputDir]);

package-lock.json

+31-12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "webdriver-manager",
3-
"version": "12.1.5",
3+
"version": "12.1.6",
44
"description": "A selenium server and browser driver manager for your end to end tests.",
55
"scripts": {
66
"format": "gulp format",

0 commit comments

Comments
 (0)