Skip to content

Commit 16a695d

Browse files
authored
Merge pull request #37 from arduino/dependabot/npm_and_yarn/actions/http-client-1.0.11
Bump @actions/http-client from 1.0.9 to 1.0.11
2 parents 1167593 + 3c7c248 commit 16a695d

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

dist/index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -1873,7 +1873,9 @@ class HttpClient {
18731873
maxSockets: maxSockets,
18741874
keepAlive: this._keepAlive,
18751875
proxy: {
1876-
proxyAuth: `${proxyUrl.username}:${proxyUrl.password}`,
1876+
...((proxyUrl.username || proxyUrl.password) && {
1877+
proxyAuth: `${proxyUrl.username}:${proxyUrl.password}`
1878+
}),
18771879
host: proxyUrl.hostname,
18781880
port: proxyUrl.port
18791881
}

package-lock.json

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"license": "MIT",
2525
"dependencies": {
2626
"@actions/core": "^1.2.6",
27-
"@actions/http-client": "^1.0.9",
27+
"@actions/http-client": "^1.0.11",
2828
"@actions/tool-cache": "^1.6.1",
2929
"semver": "^7.3.5"
3030
},

0 commit comments

Comments
 (0)