Bump http-client version (actions#221) (#222) · actions/setup-java@61c179a (original) (raw)
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -49663,7 +49663,9 @@ class HttpClient { | ||
| 49663 | 49663 | maxSockets: maxSockets, |
| 49664 | 49664 | keepAlive: this._keepAlive, |
| 49665 | 49665 | proxy: { |
| 49666 | - proxyAuth: `${proxyUrl.username}:${proxyUrl.password}`, | |
| 49666 | + ...((proxyUrl.username | | |
| 49667 | + proxyAuth: `${proxyUrl.username}:${proxyUrl.password}` | |
| 49668 | + }), | |
| 49667 | 49669 | host: proxyUrl.hostname, |
| 49668 | 49670 | port: proxyUrl.port |
| 49669 | 49671 | } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -39653,7 +39653,9 @@ class HttpClient { | ||
| 39653 | 39653 | maxSockets: maxSockets, |
| 39654 | 39654 | keepAlive: this._keepAlive, |
| 39655 | 39655 | proxy: { |
| 39656 | - proxyAuth: `${proxyUrl.username}:${proxyUrl.password}`, | |
| 39656 | + ...((proxyUrl.username | | |
| 39657 | + proxyAuth: `${proxyUrl.username}:${proxyUrl.password}` | |
| 39658 | + }), | |
| 39657 | 39659 | host: proxyUrl.hostname, |
| 39658 | 39660 | port: proxyUrl.port |
| 39659 | 39661 | } |