Skip to content

Commit f6466c2

Browse files
committed
chore(check): drop redundant comment on lint heading branch
1 parent 885b29f commit f6466c2

File tree

1 file changed

+0
-4
lines changed
  • packages/cli/binding/src/check

1 file changed

+0
-4
lines changed

packages/cli/binding/src/check/mod.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,10 +176,6 @@ pub(crate) async fn execute_check(
176176
}
177177
}
178178
Some(Err(failure)) => {
179-
// Trust the oxlint exit code: oxlint exits 0 for warning-only
180-
// output by default and exits non-zero when `denyWarnings` (or
181-
// `--deny-warnings`) promotes warnings to failures. The heading
182-
// still reflects the findings (warnings vs errors).
183179
if failure.errors == 0 && failure.warnings > 0 {
184180
output::warn(lint_message_kind.warning_heading());
185181
} else {

0 commit comments

Comments
 (0)