fix(scoop-update): Update apps with '--all'

This commit is contained in:
Hsiao-nan Cheung
2021-11-23 16:53:42 +08:00
parent 0f5097be4f
commit ac71fccbec
+1 -1
View File
@@ -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
}