Skip to content

Commit

Permalink
run lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sofisl committed Oct 4, 2024
1 parent 2d81627 commit b57bde7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/enum.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,9 @@ Enum.prototype.add = function add(name, id, comment, options) {
}
}

for (var key of Object.keys(this.values)) {
if (!this._proto_valuesFeatures[key]) {
this._proto_valuesFeatures[key] = {}
for (var name of Object.keys(this.values)) {

Check failure on line 196 in src/enum.js

View workflow job for this annotation

GitHub Actions / lint

'name' is already defined
if (!this._proto_valuesFeatures[name]) {
this._proto_valuesFeatures[name] = {};
}
}

Expand Down

0 comments on commit b57bde7

Please sign in to comment.