(env: EnvLike = process.env)
| 62 | * @param env Environment variables to check (defaults to process.env for production use) |
| 63 | */ |
| 64 | export function getProxyUrl(env: EnvLike = process.env): string | undefined { |
| 65 | return env.https_proxy || env.HTTPS_PROXY || env.http_proxy || env.HTTP_PROXY |
| 66 | } |
| 67 | |
| 68 | /** |
| 69 | * Get the NO_PROXY environment variable value |
no outgoing calls
no test coverage detected