Skip to content

Commit

Permalink
fix(scoop-update): Update apps with '--all'
Browse files Browse the repository at this point in the history
  • Loading branch information
niheaven committed Nov 23, 2021
1 parent 0f5097b commit ac71fcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libexec/scoop-update.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ function update($app, $global, $quiet = $false, $independent, $suggested, $use_c
install_app $app $architecture $global $suggested $use_cache $check_hash
}

if (!$apps) {
if (-not ($apps -or $all)) {
if ($global) {
"scoop update: --global is invalid when <app> is not specified."; exit 1
}
Expand Down

0 comments on commit ac71fcc

Please sign in to comment.