Merge pull request #16039 from apainintheneck/load-formulae-from-files-in-audit

dev-cmd/audit: load formulae from files
This commit is contained in:
Mike McQuaid 2023-09-27 09:08:48 +01:00 committed by GitHub
commit d20bcea146
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -122,7 +122,7 @@ module Homebrew
if args.tap
Tap.fetch(args.tap).then do |tap|
[
tap.formula_names.map { |name| Formula[name] },
tap.formula_files.map { |path| Formulary.factory(path) },
tap.cask_files.map { |path| Cask::CaskLoader.load(path) },
]
end