MCPcopy Create free account
hub / github.com/di-sukharev/opencommit / loadEnvironmentProxyValue

Function loadEnvironmentProxyValue

out/cli.cjs:76235–76243  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76233function getEnvironmentValue(name) {
76234 if (process.env[name]) {
76235 return process.env[name];
76236 } else if (process.env[name.toLowerCase()]) {
76237 return process.env[name.toLowerCase()];
76238 }
76239 return void 0;
76240}
76241function loadEnvironmentProxyValue() {
76242 if (!process) {
76243 return void 0;
76244 }
76245 const httpsProxy = getEnvironmentValue(HTTPS_PROXY);
76246 const allProxy = getEnvironmentValue(ALL_PROXY);

Callers 1

Calls 1

getEnvironmentValueFunction · 0.85

Tested by

no test coverage detected