diff --git a/src/steps/powershell.rs b/src/steps/powershell.rs index 878899fa..980d63f8 100644 --- a/src/steps/powershell.rs +++ b/src/steps/powershell.rs @@ -69,6 +69,10 @@ impl Powershell { cmd.push("-Verbose") } + if ctx.config().yes() { + cmd.push("-Confirm") + } + println!("Updating modules..."); ctx.run_type() .execute(&powershell)