js scripting edge case

This commit is contained in:
Peter Clement 2024-09-13 16:04:13 +01:00
parent 04daa423cf
commit 59549b74b5
1 changed files with 1 additions and 1 deletions

View File

@ -644,7 +644,7 @@
runtimeName = `loop.${name}`
} else if (block.name.startsWith("JS")) {
runtimeName = hasUserDefinedName
? `stepsByName.${bindingName}.${name}`
? `stepsByName[${bindingName}].${name}`
: `steps[${idx - loopBlockCount}].${name}`
} else {
runtimeName = hasUserDefinedName