Don't fail auditing empty tap.

This commit is contained in:
Markus Reiter 2023-05-11 21:52:31 +02:00
parent aa450ea824
commit c5926241a8
No known key found for this signature in database
GPG Key ID: 245293B51702655B

View File

@ -155,7 +155,7 @@ module Homebrew
end
end
if audit_formulae.empty? && audit_casks.empty?
if audit_formulae.empty? && audit_casks.empty? && !args.tap
ofail "No matching formulae or casks to audit!"
return
end