Misc loop block changes (#1494)

This commit is contained in:
Shuchang Zheng
2025-01-05 22:58:24 -08:00
committed by GitHub
parent a241b09701
commit 74c8dd45f5
4 changed files with 18 additions and 9 deletions

View File

@@ -1574,7 +1574,7 @@ function convertBlocksToBlockYAML(
const blockYaml: ForLoopBlockYAML = {
...base,
block_type: "for_loop",
loop_over_parameter_key: block.loop_over.key,
loop_over_parameter_key: block.loop_over?.key ?? "",
loop_blocks: convertBlocksToBlockYAML(block.loop_blocks),
loop_variable_reference: block.loop_variable_reference,
};