Skip to content

Commit

Permalink
refactor(powershell): change args method to arg for accepting all Win…
Browse files Browse the repository at this point in the history
…dows updates
  • Loading branch information
nistee committed Feb 15, 2025
1 parent a3446e2 commit 2310014
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/steps/powershell.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ mod windows {
debug_assert!(supports_windows_update(powershell));
let mut cmd = powershell.build_command_internal(ctx, &["Install-WindowsUpdate -Verbose"])?;
if ctx.config().accept_all_windows_updates() {
cmd.args(&["-AcceptAll"]);
cmd.arg("-AcceptAll");
}
cmd.status_checked()
}
Expand Down

0 comments on commit 2310014

Please sign in to comment.