From 5652655304a26887fae4b497a82c42ef42261467 Mon Sep 17 00:00:00 2001 From: Bo Anderson Date: Sat, 10 Jun 2023 00:52:39 +0100 Subject: [PATCH] tap_auditor: fix alias handling with non-core taps --- Library/Homebrew/tap_auditor.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/tap_auditor.rb b/Library/Homebrew/tap_auditor.rb index 05affe8d6b..4f88935455 100644 --- a/Library/Homebrew/tap_auditor.rb +++ b/Library/Homebrew/tap_auditor.rb @@ -19,7 +19,9 @@ module Homebrew @tap_pypi_formula_mappings = tap.pypi_formula_mappings @problems = [] - @formula_aliases = tap.aliases + @formula_aliases = tap.aliases.map do |formula_alias| + formula_alias.split("/").last + end @formula_names = tap.formula_names.map do |formula_name| formula_name.split("/").last end