change output a little bit for formatting
This commit is contained in:
@@ -854,7 +854,7 @@ fn lint() -> std::io::Result<()> {
|
|||||||
let mut any_warnings = false;
|
let mut any_warnings = false;
|
||||||
|
|
||||||
for src in &source_files {
|
for src in &source_files {
|
||||||
println!(" {} {}", "Linting".green().bold(), src.display());
|
println!(" {} {}", "Linting".green().bold(), src.display());
|
||||||
|
|
||||||
let status = Command::new("clang-tidy")
|
let status = Command::new("clang-tidy")
|
||||||
.arg(src)
|
.arg(src)
|
||||||
@@ -873,9 +873,9 @@ fn lint() -> std::io::Result<()> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if any_warnings {
|
if any_warnings {
|
||||||
println!("\n {} lint warnings found", "Warning".yellow().bold());
|
println!("\n {} lint warnings found", "Warning".yellow().bold());
|
||||||
} else {
|
} else {
|
||||||
println!("\n {} no issues found", "Finished".green().bold());
|
println!("\n {} no issues found", "Finished".green().bold());
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|||||||
Reference in New Issue
Block a user