We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3768c63 commit 98ac046Copy full SHA for 98ac046
apps/sim/lib/environment/utils.ts
@@ -143,6 +143,7 @@ export async function ensureBlockEnvVarsResolvable(
143
options: { requestId?: string } = {}
144
): Promise<void> {
145
const requestId = options.requestId
146
+ const envVarPattern = createEnvVarPattern()
147
await Promise.all(
148
Object.values(blocks).map(async (block) => {
149
const subBlocks = block.subBlocks ?? {}
@@ -157,7 +158,6 @@ export async function ensureBlockEnvVarsResolvable(
157
158
return
159
}
160
- const envVarPattern = createEnvVarPattern()
161
const matches = value.match(envVarPattern)
162
if (!matches) {
163
0 commit comments