MCPcopy Create free account
hub / github.com/ChromeDevTools/devtools-frontend / getEnvString

Function getEnvString

scripts/env-utils.mjs:34–39  ·  view source on GitHub ↗
(variable, fallback)

Source from the content-addressed store, hash-verified

32 * @param {string} fallback
33 */
34export function getEnvString(variable, fallback) {
35 if (process.env[variable]) {
36 return process.env[variable];
37 }
38 return fallback;
39}
40
41/**
42 * Default env that we expect to exist in the .env config

Callers 3

run_build.mjsFile · 0.90
run_on_target.mjsFile · 0.90
run_start.mjsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected