From 5859fcce44d706399e8f41ad4119d1bc4d1bff4f Mon Sep 17 00:00:00 2001 From: apainintheneck Date: Tue, 26 Sep 2023 20:37:41 -0700 Subject: [PATCH] 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 --- Library/Homebrew/dev-cmd/audit.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb index 2bfe5419a9..7302b62de2 100644 --- a/Library/Homebrew/dev-cmd/audit.rb +++ b/Library/Homebrew/dev-cmd/audit.rb @@ -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