Skip to content

Commit

Permalink
fix(spans-visual): change spans command output from advice to custom …
Browse files Browse the repository at this point in the history
…type
  • Loading branch information
grantlemons committed Dec 4, 2024
1 parent 96d62f3 commit 3d1fd05
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion harper-cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ fn main() -> anyhow::Result<()> {
.map(|s| s.to_string_lossy().into())
.unwrap_or("<file>".to_string());

let mut report_builder = Report::build(ReportKind::Advice, &filename, 0);
let mut report_builder =
Report::build(ReportKind::Custom("Spans", primary_color), &filename, 0);
let mut color = primary_color;
for token in doc.tokens() {
report_builder = report_builder.with_label(
Expand Down

0 comments on commit 3d1fd05

Please sign in to comment.