From 8c6a48af76a24c725a806c66b4bab65ed63208f2 Mon Sep 17 00:00:00 2001 From: Roey Darwish Dror Date: Sat, 24 Apr 2021 06:07:50 +0300 Subject: [PATCH] Support -y in Powershell (fix #696) --- src/steps/powershell.rs | 4 ++++ 1 file changed, 4 insertions(+) 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)