Skip to content

Commit

Permalink
commands/lint: Use validators::Error formatter in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
zaeleus committed Nov 6, 2023
1 parent cac1467 commit 316ec8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/lint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ where
let _ = write!(message, "{col_no}:");
}

let _ = write!(message, " [{}] {}: {}", error.code, error.name, error.error);
let _ = write!(message, " {}", error);

message
}
Expand Down

0 comments on commit 316ec8d

Please sign in to comment.