Skip to content

Commit

Permalink
tidy: Enforce formatting rather than just check it if --bless is sp…
Browse files Browse the repository at this point in the history
…ecified
  • Loading branch information
petrochenkov committed Dec 29, 2019
1 parent 774a4bd commit 5b80a99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
}

Expand Down

0 comments on commit 5b80a99

Please sign in to comment.