Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

Commit

Permalink
Prettify changes
Browse files Browse the repository at this point in the history
Co-authored-by: Felipe Galindo Sanchez <[email protected]>
  • Loading branch information
poppin3000 and fgalind1 authored Mar 24, 2021
1 parent e3934bd commit 8815420
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 8815420

Please sign in to comment.