From 5b80a99a9f72d0f95641b9ab9358fa3801d68be0 Mon Sep 17 00:00:00 2001 From: Vadim Petrochenkov Date: Sun, 29 Dec 2019 14:31:54 +0300 Subject: [PATCH] tidy: Enforce formatting rather than just check it if `--bless` is specified --- src/bootstrap/test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs index f2a7d1d00cf28..b5c8de057d017 100644 --- a/src/bootstrap/test.rs +++ b/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()); } }