MCPcopy Create free account
hub / github.com/ChromeDevTools/chrome-devtools-mcp / prependToPath

Function prependToPath

scripts/gclient-sync.ts:65–69  ·  view source on GitHub ↗
(env: NodeJS.ProcessEnv, dir: string)

Source from the content-addressed store, hash-verified

63}
64
65function prependToPath(env: NodeJS.ProcessEnv, dir: string): void {
66 const key = getPathKey(env);
67 const current = env[key];
68 env[key] = current ? `${dir}${delimiter}${current}` : dir;
69}
70
71function run(
72 command: string,

Callers 1

gclient-sync.tsFile · 0.85

Calls 1

getPathKeyFunction · 0.85

Tested by

no test coverage detected