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

Function resolveEnvVars

apps/sim/lib/webhooks/processor.ts:409–411  ·  view source on GitHub ↗
(value: string, envVars: Record<string, string>)

Source from the content-addressed store, hash-verified

407}
408
409function resolveEnvVars(value: string, envVars: Record<string, string>): string {
410 return resolveEnvVarReferences(value, envVars) as string
411}
412
413/** True when any string value in the provider config contains an env-var reference (`{{VAR}}`). */
414function providerConfigReferencesEnvVars(config: Record<string, unknown>): boolean {

Callers 1

Calls 1

resolveEnvVarReferencesFunction · 0.90

Tested by

no test coverage detected