Skip to content

Commit

Permalink
fix SC endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-bromann committed Nov 4, 2020
1 parent ce337f3 commit 69a70a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ export default class SauceLabs {
sauceConnectVersion = await this._getLatestSauceConnectVersion()
}
const { servers, basePath } = PROTOCOL_MAP.get('listJobs')
const restUrl = getAPIHost(servers, basePath, this._options) + '/v1'
const restUrl = getAPIHost(servers, basePath, this._options).replace(/api\.(us-west-1\.)?/, '') + '/v1'

This comment has been minimized.

Copy link
@wswebcreation

wswebcreation Nov 4, 2020

Contributor

Shouldn't you just change the json file?

const args = Object.entries(argv)
/**
* filter out yargs, yargs params and custom parameters
Expand Down

0 comments on commit 69a70a3

Please sign in to comment.