lint: Make lint error easier to spot in output

This commit is contained in:
MarcoFalke
2024-02-11 15:21:47 +01:00
parent fa770fd368
commit fa63b0e351

View File

@@ -139,7 +139,7 @@ fn main() -> ExitCode {
// chdir to root before each lint test // chdir to root before each lint test
env::set_current_dir(&git_root).unwrap(); env::set_current_dir(&git_root).unwrap();
if let Err(err) = lint_fn() { if let Err(err) = lint_fn() {
println!("{err}\n^---- Failure generated from {lint_name}!"); println!("{err}\n^---- ⚠️ Failure generated from {lint_name}!");
test_failed = true; test_failed = true;
} }
} }