mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
Fix oxlint --quiet suppressing errors (#1008)
As explained by the comment in source, --quiet should only suppress warning output. Please double-check that I haven't done something totally wrong here, I don't know Rust.
This commit is contained in:
parent
4b719026bf
commit
1aa95fa6d6
1 changed files with 1 additions and 1 deletions
|
|
@ -110,7 +110,7 @@ impl DiagnosticService {
|
|||
}
|
||||
// The --quiet flag follows ESLint's --quiet behavior as documented here: https://eslint.org/docs/latest/use/command-line-interface#--quiet
|
||||
// Note that it does not disable ALL diagnostics, only Warning diagnostics
|
||||
if self.quiet {
|
||||
else if self.quiet {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue