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

Function resolveValue

apps/sim/lib/mcp/resolve-config.ts:46–53  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

44 }
45
46 const resolveValue = (value: string): string => {
47 const missingVars: string[] = []
48 const resolved = resolveEnvVarReferences(value, envVars, {
49 missingKeys: missingVars,
50 }) as string
51 allMissingVars.push(...missingVars)
52 return resolved
53 }
54
55 const resolvedConfig = { ...config }
56

Callers 1

resolveMcpConfigEnvVarsFunction · 0.85

Calls 2

resolveEnvVarReferencesFunction · 0.90
pushMethod · 0.45

Tested by

no test coverage detected