Skip to content

Commit

Permalink
SNOW-1825719 - setting proxy port if default was skipped during parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-pmotacki committed Nov 26, 2024
1 parent dc8f7eb commit ee2144b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -885,7 +885,7 @@ exports.getProxyFromEnv = function (isHttps = true) {
const port = getDefaultPortIfNotSet(proxyFromEnv, isHttps);
const proxy = {
host: this.validateEmptyString(proxyFromEnv.hostname),
port: Number(this.validateEmptyString(port)),
port: Number(port),
user: this.validateEmptyString(proxyFromEnv.username),
password: this.validateEmptyString(proxyFromEnv.password),
protocol: this.validateEmptyString(proxyFromEnv.protocol),
Expand Down

0 comments on commit ee2144b

Please sign in to comment.