MCPcopy Create free account
hub / github.com/deepnote/deepnote / resolveEnvVarRefs

Function resolveEnvVarRefs

packages/cli/src/utils/env-var-refs.ts:12–14  ·  view source on GitHub ↗
(obj: T, currentPath?: string)

Source from the content-addressed store, hash-verified

10 * @throws {EnvVarResolutionError} If an environment variable reference cannot be resolved
11 */
12export function resolveEnvVarRefs<T>(obj: T, currentPath?: string): T {
13 return resolveEnvVarRefsFromMap(obj, process.env, currentPath)
14}

Callers 1

Calls 1

resolveEnvVarRefsFromMapFunction · 0.90

Tested by

no test coverage detected