Skip to content

Commit 5b80a99

Browse files
committed
tidy: Enforce formatting rather than just check it if --bless is specified
1 parent 774a4bd commit 5b80a99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/test.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@ impl Step for Tidy {
736736

737737
if builder.config.channel == "dev" || builder.config.channel == "nightly" {
738738
builder.info("fmt check");
739-
crate::format::format(&builder.build, true);
739+
crate::format::format(&builder.build, !builder.config.cmd.bless());
740740
}
741741
}
742742

0 commit comments

Comments
 (0)