()
| 15 | // fetch keeps Node's default global dispatcher untouched. Resolved once per |
| 16 | // process — proxy env vars are fixed for a single CLI invocation. |
| 17 | export function proxyDispatcher(): EnvHttpProxyAgent | undefined { |
| 18 | if (!resolved) { |
| 19 | agent = hasProxyEnv() ? new EnvHttpProxyAgent() : undefined |
| 20 | resolved = true |
| 21 | } |
| 22 | return agent |
| 23 | } |
no test coverage detected