1
Fork 0

tidy: Enforce formatting rather than just check it if --bless is specified

This commit is contained in:
Vadim Petrochenkov 2019-12-29 14:31:54 +03:00
parent 774a4bd4f4
commit 5b80a99a9f

View file

@ -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());
}
}