Avoid printing dry run timings
This commit is contained in:
parent
90b1f5ae59
commit
5f3145febd
@ -1421,7 +1421,7 @@ pub fn ensure<S: Step>(&'a self, step: S) -> S::Output {
|
||||
(out, dur - deps)
|
||||
};
|
||||
|
||||
if self.config.print_step_timings {
|
||||
if self.config.print_step_timings && !self.config.dry_run {
|
||||
println!("[TIMING] {:?} -- {}.{:03}", step, dur.as_secs(), dur.subsec_millis());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user