From f4357367daba3e0a4b43a0654d66a0b5579d1468 Mon Sep 17 00:00:00 2001 From: Gareth Emslie Date: Sun, 7 Jun 2020 10:14:28 +0200 Subject: [PATCH] remove agent options --- .../DownloadArtifactsNexusV2/httpHelper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tasks/DownloadArtifactsNexus/DownloadArtifactsNexusV2/httpHelper.ts b/Tasks/DownloadArtifactsNexus/DownloadArtifactsNexusV2/httpHelper.ts index 5b6139b..ed2f195 100644 --- a/Tasks/DownloadArtifactsNexus/DownloadArtifactsNexusV2/httpHelper.ts +++ b/Tasks/DownloadArtifactsNexus/DownloadArtifactsNexusV2/httpHelper.ts @@ -31,7 +31,7 @@ export class httpHelper implements IhttpHelper { } // Setup new agent dont use the global one - options.agent = new http.Agent(options); + options.agent = new http.Agent(); options.port = searchUri.port || options.defaultPort; // execute the http request