fix issue with js bindings not using quotes
This commit is contained in:
parent
7d4aa25244
commit
c083fe3bd7
|
@ -643,8 +643,8 @@
|
||||||
runtimeName = `loop.${name}`
|
runtimeName = `loop.${name}`
|
||||||
} else if (block.name.startsWith("JS")) {
|
} else if (block.name.startsWith("JS")) {
|
||||||
runtimeName = hasUserDefinedName
|
runtimeName = hasUserDefinedName
|
||||||
? `stepsByName[${bindingName}].${name}`
|
? `stepsByName["${bindingName}"].${name}`
|
||||||
: `steps[${idx - loopBlockCount}].${name}`
|
: `steps["${idx - loopBlockCount}"].${name}`
|
||||||
} else {
|
} else {
|
||||||
runtimeName = hasUserDefinedName
|
runtimeName = hasUserDefinedName
|
||||||
? `stepsByName.${bindingName}.${name}`
|
? `stepsByName.${bindingName}.${name}`
|
||||||
|
|
Loading…
Reference in New Issue