dev-cmd/audit: load formulae from files

This is a test to see if this will fix some flaky checks on CI
that are caused by missing formulae while auditing the core tap.

- https://github.com/Homebrew/brew/issues/16037
This commit is contained in:
apainintheneck 2023-09-26 20:37:41 -07:00
parent 39f76d6351
commit 5859fcce44

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