saucelabs
Advanced tools
Comparing version 7.0.3 to 7.0.4
@@ -282,5 +282,8 @@ "use strict"; | ||
args.push(`--api-key=${this._accessKey}`); | ||
const region = argv.region || this.region; | ||
if (!args.some(arg => arg.startsWith('--region'))) { | ||
const scRegion = (0, _utils.getRegionSubDomain)(this.region).split('-').slice(0, 2).join('-'); | ||
if (region) { | ||
const scRegion = (0, _utils.getRegionSubDomain)({ | ||
region | ||
}).split('-').slice(0, 2).join('-'); | ||
args.push(`--region=${scRegion}`); | ||
@@ -287,0 +290,0 @@ } |
{ | ||
"name": "saucelabs", | ||
"version": "7.0.3", | ||
"version": "7.0.4", | ||
"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
33072563
14419