Support -y in Powershell (fix #696)
This commit is contained in:
@@ -69,6 +69,10 @@ impl Powershell {
|
|||||||
cmd.push("-Verbose")
|
cmd.push("-Verbose")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ctx.config().yes() {
|
||||||
|
cmd.push("-Confirm")
|
||||||
|
}
|
||||||
|
|
||||||
println!("Updating modules...");
|
println!("Updating modules...");
|
||||||
ctx.run_type()
|
ctx.run_type()
|
||||||
.execute(&powershell)
|
.execute(&powershell)
|
||||||
|
|||||||
Reference in New Issue
Block a user