tidy: Enforce formatting rather than just check it if --bless
is specified
This commit is contained in:
parent
774a4bd4f4
commit
5b80a99a9f
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue