()
| 3 | const PROXY_ENV_KEYS = ['HTTP_PROXY', 'http_proxy', 'HTTPS_PROXY', 'https_proxy'] as const |
| 4 | |
| 5 | export function hasProxyEnv(): boolean { |
| 6 | return PROXY_ENV_KEYS.some(k => (process.env[k] ?? '') !== '') |
| 7 | } |
| 8 | |
| 9 | let resolved = false |
| 10 | let agent: EnvHttpProxyAgent | undefined |
no outgoing calls
no test coverage detected