MCPcopy Create free account
hub / github.com/code-forge-io/react-router-devtools / setupEnv

Function setupEnv

docs/scripts/setup.ts:20–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18}
19
20const setupEnv = () => {
21 const { envName, path } = getEnvInfo()
22 dotenvx.config({ path })
23 log(`Environment loaded: ${chalk.green(envName)} from ${chalk.green(path)}`)
24}
25
26// Helper method used to confirm the run
27const confirmRun = async () => {

Callers 1

setup.tsFile · 0.85

Calls 2

getEnvInfoFunction · 0.85
logFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…