Skip to content

Commit

Permalink
Fix missing printError
Browse files Browse the repository at this point in the history
  • Loading branch information
alexyorke committed Jul 24, 2016
1 parent 49fefa5 commit c113b5d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pedant.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ var pedant = {
inQuote = true;
} else {
if ((i - quoteStartIndex) > MAX_QUOTE_LENGTH) {
console.log("QuoteError: quote too long starting at char " +
quoteStartIndex + " to " + i);
printError("quote too long", "QuoteError", j, quoteStartIndex);
inQuote = false;
}
}
Expand Down

0 comments on commit c113b5d

Please sign in to comment.