update comment

This commit is contained in:
Simon Knott 2024-09-27 14:48:32 +02:00
parent 11014ea5fd
commit 1ae95ba9f7
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC

View file

@ -697,7 +697,7 @@ export function createProxyAgent(proxy: types.ProxySettings) {
proxyURL.username = proxy.username;
if (proxy.password)
proxyURL.password = proxy.password;
// TODO: We should use HttpProxyAgent conditional on proxyOpts.protocol instead of always using CONNECT method.
// TODO: We should use HttpProxyAgent conditional on proxyURL.protocol instead of always using CONNECT method.
return new HttpsProxyAgent(proxyURL);
}