Skip to content
This repository was archived by the owner on Mar 23, 2024. It is now read-only.

Commit 4bd3800

Browse files
committed
[Fix] Parsing errors
1 parent 5b6f8de commit 4bd3800

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/string-checker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ StringChecker.prototype = {
248248
var parseErrors = file.getParseErrors();
249249
if (parseErrors.length > 0) {
250250
parseErrors.forEach(function(parseError) {
251-
this._addParseError(errors, parseError);
251+
this._addParseError(errors, parseError, file);
252252
}, this);
253253

254254
return {output: source, errors: errors};

0 commit comments

Comments
 (0)