Skip to content
Permalink
Browse files

tidy: Enforce formatting rather than just check it if `--bless` is sp…

…ecified
  • Loading branch information
petrochenkov committed Dec 29, 2019
1 parent 774a4bd commit 5b80a99a9f72d0f95641b9ab9358fa3801d68be0
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/bootstrap/test.rs
@@ -736,7 +736,7 @@ impl Step for Tidy {

if builder.config.channel == "dev" || builder.config.channel == "nightly" {
builder.info("fmt check");
crate::format::format(&builder.build, true);
crate::format::format(&builder.build, !builder.config.cmd.bless());
}
}

0 comments on commit 5b80a99

Please sign in to comment.
You can’t perform that action at this time.