mirror of
https://github.com/simstudioai/sim.git
synced 2026-01-26 07:18:38 -05:00
update type guard:
This commit is contained in:
@@ -637,7 +637,7 @@ export function getToolOutputPaths(
|
||||
continue
|
||||
}
|
||||
|
||||
const condition = (blockOutput as any).condition as OutputCondition | undefined
|
||||
const condition = 'condition' in blockOutput ? blockOutput.condition : undefined
|
||||
if (condition) {
|
||||
if (evaluateOutputCondition(condition, subBlocks)) {
|
||||
filteredOutputs[key] = value
|
||||
|
||||
Reference in New Issue
Block a user