Skip to content

Commit a4e9ec7

Browse files
fix compilation error
1 parent a76f69b commit a4e9ec7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/client/HttpClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export class HttpClient implements Client {
1818
const proxyUrl = process.env.HTTP_PROXY;
1919
if (proxyUrl) {
2020
logger.info(`Detected proxy configuration in HTTP_PROXY`);
21-
return HttpsProxyAgent(proxyUrl); // Use as a function
21+
return new HttpsProxyAgent(proxyUrl);
2222
}
2323
logger.info('No proxy configuration detected.');
2424
return undefined;

0 commit comments

Comments
 (0)