1
Fork 0

never print the warning on CI

This commit is contained in:
binarycat 2025-01-10 20:35:34 -06:00
parent e1772e7238
commit 60cbd749f3

View file

@ -114,7 +114,7 @@ fn print_paths(verb: &str, adjective: Option<&str>, paths: &[String]) {
} else {
println!("fmt: {verb} {len} {adjective}files");
}
if len > 1000 {
if len > 1000 && !CiEnv::is_ci() {
println!("hint: if this number seems too high, try running `git fetch origin master");
}
}