We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
dry_run
run_always
1 parent c7832b8 commit 3d0f3b2Copy full SHA for 3d0f3b2
src/bootstrap/src/core/download.rs
@@ -56,7 +56,7 @@ impl Config {
56
/// Returns false if do not execute at all, otherwise returns its
57
/// `status.success()`.
58
pub(crate) fn check_run(&self, cmd: &mut BootstrapCommand) -> bool {
59
- if self.dry_run() {
+ if self.dry_run() && !cmd.run_always {
60
return true;
61
}
62
self.verbose(|| println!("running: {cmd:?}"));
0 commit comments