Skip to content

Commit

Permalink
fix: rejectUnauthorized deprecation warning (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Lukashevich authored Jun 11, 2020
1 parent 3e398eb commit 193d5af
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 @@ -27,7 +27,7 @@ export default class SauceLabs {
this._api = got.extend({
username: this.username,
password: this._accessKey,
rejectUnauthorized: getStrictSsl(),
https: { rejectUnauthorized: getStrictSsl() },
followRedirect: true,
})

Expand Down

0 comments on commit 193d5af

Please sign in to comment.