MCPcopy Index your code
hub / github.com/angular/angular-cli / getGlobalVariablesEnv

Function getGlobalVariablesEnv

tests/e2e/utils/env.ts:19–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17}
18
19export function getGlobalVariablesEnv(): NodeJS.ProcessEnv {
20 return Object.keys(process.env)
21 .filter((v) => v.startsWith(ENV_PREFIX))
22 .reduce<NodeJS.ProcessEnv>((vars, n) => {
23 vars[n] = process.env[n];
24 return vars;
25 }, {});
26}

Callers 1

launchTestProcessFunction · 0.90

Calls 1

keysMethod · 0.45

Tested by

no test coverage detected