MCPcopy Index your code
hub / github.com/simstudioai/sim / resolve

Method resolve

apps/sim/executor/variables/resolvers/env.ts:12–20  ·  view source on GitHub ↗
(reference: string, context: ResolutionContext)

Source from the content-addressed store, hash-verified

10 }
11
12 resolve(reference: string, context: ResolutionContext): any {
13 const varName = extractEnvVarName(reference)
14
15 const value = context.executionContext.environmentVariables?.[varName]
16 if (value === undefined) {
17 return reference
18 }
19 return value
20 }
21}

Callers

nothing calls this directly

Calls 1

extractEnvVarNameFunction · 0.90

Tested by

no test coverage detected