Skip to content

Commit e230099

Browse files
committed
[lint addon] Fix use of let
1 parent 7058f96 commit e230099

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addon/lint/lint.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585

8686
function clearErrorLines(cm) {
8787
cm.eachLine(line => {
88-
let has = line.wrapClass && /\bCodeMirror-lint-line-\w+\b/.exec(line.wrapClass);
88+
var has = line.wrapClass && /\bCodeMirror-lint-line-\w+\b/.exec(line.wrapClass);
8989
if (has) cm.removeLineClass(line, "wrap", has[0]);
9090
})
9191
}

0 commit comments

Comments
 (0)