Skip to content

Commit

Permalink
fix: optionDialog cancel option
Browse files Browse the repository at this point in the history
  • Loading branch information
m1ga committed Feb 12, 2024
1 parent dbf9cb3 commit ce5b4b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Alloy/commands/compile/parsers/Alloy.Abstract.Option.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function parse(node, state, args) {

if (attrName) {
if (args.createArgs[attrName]) {
code = `${attrVarName} = ${codePush} - 1`;
code = `var ${attrVarName} = ${codePush} - 1`;
} else {
code = `${attrVarName} = undefined; ${codePush}`;
}
Expand Down

0 comments on commit ce5b4b1

Please sign in to comment.