saucelabs
Advanced tools
Comparing version 4.4.2 to 4.4.3
@@ -264,4 +264,7 @@ "use strict"; | ||
args.push(`--api-key=${this._accessKey}`); | ||
args.push(`--rest-url=${restUrl}`); | ||
if (!args.some(arg => arg.startsWith("--rest-url"))) { | ||
args.push(`--rest-url=${restUrl}`); | ||
} | ||
const bin = _constants.SAUCE_CONNECT_DISTS.reduce((bin, [downloadUrl, ...args]) => { | ||
@@ -268,0 +271,0 @@ bin.src(_util.default.format(downloadUrl, sauceConnectVersion), ...args); |
@@ -65,4 +65,3 @@ "use strict"; | ||
const apiUrl = options.host || servers[0].url; | ||
let host = _constants.DEFAULT_PROTOCOL + _path.default.join(apiUrl.replace(_constants.DEFAULT_PROTOCOL, ''), basePath); | ||
let host = _constants.DEFAULT_PROTOCOL + apiUrl.replace(_constants.DEFAULT_PROTOCOL, '') + basePath; | ||
/** | ||
@@ -73,3 +72,2 @@ * allow short region handles to stay backwards compatible | ||
if (options.region) { | ||
@@ -76,0 +74,0 @@ if (options.region === 'us') options.region = 'us-west-1'; |
{ | ||
"name": "saucelabs", | ||
"version": "4.4.2", | ||
"version": "4.4.3", | ||
"author": "Christian Bromann <christian@saucelabs.com>", | ||
@@ -5,0 +5,0 @@ "description": "A wrapper around Sauce Labs REST API", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
300638
9484