We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5dbba4 commit a06691fCopy full SHA for a06691f
cli/targets/static.js
@@ -606,7 +606,7 @@ function buildEnum(ref, enm) {
606
var aliased = [];
607
Object.keys(enm.values).forEach(function(key) {
608
var val = enm.values[key];
609
- if (aliased.indexOf(val) >= -1)
+ if (aliased.indexOf(val) > -1)
610
push("values[" + JSON.stringify(key) + "] = " + val + ";");
611
else {
612
push("values[valuesById[" + val + "] = " + JSON.stringify(key) + "] = " + val + ";");
0 commit comments