Skip to content

Commit 79dbc86

Browse files
authored
remove errant comment from merge conflict
1 parent 3d70e38 commit 79dbc86

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/rules/preferForOfRule.ts

-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ class PreferForOfWalker extends Lint.RuleWalker {
7474
if (indexVariableName != null) {
7575
const incrementorState = this.incrementorMap[indexVariableName];
7676
if (incrementorState.onlyArrayAccess) {
77-
// Find `array[i]`-like usages by building up a regex
7877
const length = incrementorState.endIncrementPos - node.getStart() + 1;
7978
const failure = this.createFailure(node.getStart(), length, Rule.FAILURE_STRING);
8079
this.addFailure(failure);

0 commit comments

Comments
 (0)