Skip to content

Commit 3d0f3b2

Browse files
committed
bypass dry_run if the command is run_always
Signed-off-by: onur-ozkan <[email protected]>
1 parent c7832b8 commit 3d0f3b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/src/core/download.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ impl Config {
5656
/// Returns false if do not execute at all, otherwise returns its
5757
/// `status.success()`.
5858
pub(crate) fn check_run(&self, cmd: &mut BootstrapCommand) -> bool {
59-
if self.dry_run() {
59+
if self.dry_run() && !cmd.run_always {
6060
return true;
6161
}
6262
self.verbose(|| println!("running: {cmd:?}"));

0 commit comments

Comments
 (0)