Skip to content

Commit 2582876

Browse files
committed
Handle the case where JSLint complains about arguments in try/catch already being defined (we use the name 'e' consistently for catch(e) - will work to standardize on that now).
1 parent 497fc98 commit 2582876

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/jslint-check.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ var ok = {
1212
"Use '===' to compare with 'null'.": true,
1313
"Use '!==' to compare with 'null'.": true,
1414
"Expected an assignment or function call and instead saw an expression.": true,
15-
"Expected a 'break' statement before 'case'.": true
16-
15+
"Expected a 'break' statement before 'case'.": true,
16+
"'e' is already defined.": true
1717
};
1818

1919
var e = JSLINT.errors, found = 0, w;

0 commit comments

Comments
 (0)