Skip to content

Commit

Permalink
fix(variables): Revert inadvertent change to allDeveloperVariables (#…
Browse files Browse the repository at this point in the history
…6290)

It appears that a function call got modified incorrectly (probably
in an effort to fix a typing issue).  This fix trivially reverts
the line in question to match the original JS version from develop.

This causes the generator tests to pass.
  • Loading branch information
cpcallen authored Jul 28, 2022
1 parent cb1aeb2 commit aa61f2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/variables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export function allDeveloperVariables(workspace: Workspace): string[] {
}
}
if (getDeveloperVariables) {
const devVars = block.getDeveloperVariables!();
const devVars = getDeveloperVariables();
for (let j = 0; j < devVars.length; j++) {
variableHash[devVars[j]] = true;
}
Expand Down

0 comments on commit aa61f2d

Please sign in to comment.