mirror of
https://github.com/actions/http-client.git
synced 2025-02-24 16:22:28 +00:00
Prettify changes
Co-authored-by: Felipe Galindo Sanchez <felipe.galindo.sanchez@intel.com>
This commit is contained in:
parent
e3934bd2d3
commit
8815420ebb
4
index.ts
4
index.ts
@ -642,7 +642,9 @@ export class HttpClient {
|
||||
maxSockets: maxSockets,
|
||||
keepAlive: this._keepAlive,
|
||||
proxy: {
|
||||
...((proxyUrl.username || proxyUrl.password) && { proxyAuth: `${proxyUrl.username}:${proxyUrl.password}` }),
|
||||
...((proxyUrl.username || proxyUrl.password) && {
|
||||
proxyAuth: `${proxyUrl.username}:${proxyUrl.password}`
|
||||
}),
|
||||
host: proxyUrl.hostname,
|
||||
port: proxyUrl.port
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user