MCPcopy Index your code
hub / github.com/continuedev/continue / getEnvNoProxyPatterns

Function getEnvNoProxyPatterns

packages/fetch/src/util.ts:32–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30}
31
32export function getEnvNoProxyPatterns(): string[] {
33 const envValue = process.env.NO_PROXY || process.env.no_proxy;
34 if (envValue && typeof envValue === "string") {
35 return envValue
36 .split(",")
37 .map((item) => item.trim().toLowerCase())
38 .filter((i) => !!i);
39 } else {
40 return [];
41 }
42}
43
44export function getReqOptionsNoProxyPatterns(
45 options: RequestOptions | undefined,

Callers 1

shouldBypassProxyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected