Skip to content

Commit ac71fcc

Browse files
committed
fix(scoop-update): Update apps with '--all'
1 parent 0f5097b commit ac71fcc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libexec/scoop-update.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ function update($app, $global, $quiet = $false, $independent, $suggested, $use_c
278278
install_app $app $architecture $global $suggested $use_cache $check_hash
279279
}
280280

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

0 commit comments

Comments
 (0)