Skip to content

Commit

Permalink
Fix breaking reporting on non syntax match errors
Browse files Browse the repository at this point in the history
  • Loading branch information
lahmatiy committed Nov 27, 2023
1 parent f4d1a09 commit 3731848
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/validator.html
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ <h2 id="result-header"></h2>
'\n value: ' + csstree.generate(node) + '\n ^';
} else if (error.name !== 'SyntaxMatchError') {
// ignore non-match errors
return;
continue;
}

errors[type] = (errors[type] || 0) + 1;
Expand Down

0 comments on commit 3731848

Please sign in to comment.