We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a76f69b commit a4e9ec7Copy full SHA for a4e9ec7
src/main/client/HttpClient.ts
@@ -18,7 +18,7 @@ export class HttpClient implements Client {
18
const proxyUrl = process.env.HTTP_PROXY;
19
if (proxyUrl) {
20
logger.info(`Detected proxy configuration in HTTP_PROXY`);
21
- return HttpsProxyAgent(proxyUrl); // Use as a function
+ return new HttpsProxyAgent(proxyUrl);
22
}
23
logger.info('No proxy configuration detected.');
24
return undefined;
0 commit comments