Skip to content

Commit 60cbd74

Browse files
committed
never print the warning on CI
1 parent e1772e7 commit 60cbd74

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/bootstrap/src/core/build_steps/format.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ fn print_paths(verb: &str, adjective: Option<&str>, paths: &[String]) {
114114
}else{
115115
println!("fmt: {verb} {len} {adjective}files");
116116
}
117-
if len > 1000{
117+
if len > 1000&& !CiEnv::is_ci(){
118118
println!("hint: if this number seems too high, try running `git fetch origin master");
119119
}
120120
}

0 commit comments

Comments
 (0)