Commit d3e2e72
committed
fix(check): avoid swallowing real lint errors when suppress_unmatched is active
Only suppress lint errors when the output is empty (no files to lint).
If oxlint produced error output (config error, crash, etc.), surface
it even when --no-error-on-unmatched-pattern is active.1 parent 201555e commit d3e2e72
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| |||
0 commit comments