Skip to content

Commit

Permalink
fix(core): print diagnostics for scanner panics
Browse files Browse the repository at this point in the history
  • Loading branch information
arendjr committed Jan 8, 2025
1 parent ec02891 commit 366d338
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/biome_cli/src/commands/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -809,6 +809,9 @@ pub(crate) trait CommandRunner: Sized {
project_key,
path: Some(project_path),
})?;
for diagnostic in result.diagnostics {
console.log(markup! {{PrintDiagnostic::simple(&diagnostic)}});
}
if cli_options.verbose && matches!(execution.report_mode(), ReportMode::Terminal { .. })
{
console.log(markup! {
Expand Down

0 comments on commit 366d338

Please sign in to comment.