Support -y in Powershell (fix #696)

This commit is contained in:
Roey Darwish Dror
2021-04-24 06:07:50 +03:00
parent 5989685df5
commit 8c6a48af76

View File

@@ -69,6 +69,10 @@ impl Powershell {
cmd.push("-Verbose")
}
if ctx.config().yes() {
cmd.push("-Confirm")
}
println!("Updating modules...");
ctx.run_type()
.execute(&powershell)