Skip to content

Commit

Permalink
fix(scoop-virustotal): continue exec when no app but -a provided
Browse files Browse the repository at this point in the history
  • Loading branch information
Lutra-Fs committed Jul 29, 2023
1 parent 3dfb4bf commit 5da903a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libexec/scoop-virustotal.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

$opt, $apps, $err = getopt $args 'asnup' @('all', 'scan', 'no-depends', 'no-update-scoop', 'passthru')
if ($err) { "scoop virustotal: $err"; exit 1 }
if (!$apps) { my_usage; exit 1 }
if (!$apps -and -$all) { my_usage; exit 1 }
$architecture = Format-ArchitectureString

if (is_scoop_outdated) {
Expand Down

0 comments on commit 5da903a

Please sign in to comment.