Print "Checking/Building ..." message even when --dry-run is passed
This makes it a lot easier to understand what commands will be run without having to parse the `-vv` output, which isn't meant to be user facing.
This commit is contained in:
parent
34972c512b
commit
24378885c8
@ -1019,10 +1019,12 @@ impl Build {
|
||||
}
|
||||
|
||||
fn info(&self, msg: &str) {
|
||||
if self.config.dry_run() {
|
||||
return;
|
||||
match self.config.dry_run {
|
||||
DryRun::SelfCheck => return,
|
||||
DryRun::Disabled | DryRun::UserSelected => {
|
||||
println!("{}", msg);
|
||||
}
|
||||
}
|
||||
println!("{}", msg);
|
||||
}
|
||||
|
||||
/// Returns the number of parallel jobs that have been configured for this
|
||||
|
Loading…
x
Reference in New Issue
Block a user