From 8815420ebb3e29f2afa261a25c0e93e355fe6394 Mon Sep 17 00:00:00 2001 From: Pavan Ravipati Date: Wed, 24 Mar 2021 14:36:53 -0700 Subject: [PATCH] Prettify changes Co-authored-by: Felipe Galindo Sanchez --- index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.ts b/index.ts index 4dfecde..a7858d9 100644 --- a/index.ts +++ b/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 }