MCPcopy
hub / github.com/claude-code-best/claude-code / proxyEnvSet

Function proxyEnvSet

scripts/postinstall.cjs:112–121  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

110// --- Download helpers ---
111
112function proxyEnvSet() {
113 const v = s => (s ?? '').trim()
114 return !!(
115 v(process.env.HTTPS_PROXY) ||
116 v(process.env.HTTP_PROXY) ||
117 v(process.env.ALL_PROXY) ||
118 v(process.env.https_proxy) ||
119 v(process.env.http_proxy)
120 )
121}
122
123function tryPowerShellDownload(url, dest) {
124 const u = url.replace(/'/g, "''")

Callers 1

fetchReleaseFunction · 0.85

Calls 1

vFunction · 0.85

Tested by

no test coverage detected