fix linting error
This commit is contained in:
parent
d8c97fba15
commit
9613c7fdb6
@ -46,7 +46,7 @@ var programReferenceVisitor = {
|
||||
}
|
||||
},
|
||||
|
||||
ForXStatement(node, parent, scope, state) {
|
||||
ForXStatement(node, parent, scope) {
|
||||
var left = this.get("left");
|
||||
if (left.isPattern() || left.isIdentifier()) {
|
||||
scope.registerConstantViolation(left);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user