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

Function getEnvironmentValue

out/cli.cjs:76227–76234  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

76225var HTTPS_PROXY = "HTTPS_PROXY";
76226var HTTP_PROXY = "HTTP_PROXY";
76227var ALL_PROXY = "ALL_PROXY";
76228var NO_PROXY = "NO_PROXY";
76229var proxyPolicyName = "proxyPolicy";
76230var globalNoProxyList = [];
76231var noProxyListLoaded = false;
76232var globalBypassedMap = /* @__PURE__ */ new Map();
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()];

Callers 2

loadNoProxyFunction · 0.85

Calls 1

toLowerCaseMethod · 0.80

Tested by

no test coverage detected