Skip to content

Commit 3731848

Browse files
committed
Fix breaking reporting on non syntax match errors
1 parent f4d1a09 commit 3731848

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/validator.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ <h2 id="result-header"></h2>
280280
'\n value: ' + csstree.generate(node) + '\n ^';
281281
} else if (error.name !== 'SyntaxMatchError') {
282282
// ignore non-match errors
283-
return;
283+
continue;
284284
}
285285

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

0 commit comments

Comments
 (0)