audit: also skip homebrew/science duplicates found by search_taps

Follow-up to #3202.
This commit is contained in:
ilovezfs 2017-09-24 00:29:34 -07:00
parent 4f9c7cab76
commit 28c7838450

View File

@ -430,6 +430,7 @@ class FormulaAuditor
if @online
Homebrew.search_taps(name, silent: true).each do |tap_formula_full_name|
next if tap_formula_full_name.start_with?("homebrew/science/")
tap_formula_name = tap_formula_full_name.split("/").last
next if tap_formula_name != name
same_name_tap_formulae << tap_formula_full_name