tap_auditor: use short names when checking exception lists

This commit is contained in:
Rylan Polster 2021-08-20 02:35:17 -04:00
parent 4bbe340752
commit 05fa1f0cb8
No known key found for this signature in database
GPG Key ID: 46A744940CFF4D64

View File

@ -15,12 +15,15 @@ module Homebrew
def initialize(tap, strict:)
@name = tap.name
@path = tap.path
@formula_names = tap.formula_names
@cask_tokens = tap.cask_tokens
@tap_audit_exceptions = tap.audit_exceptions
@tap_style_exceptions = tap.style_exceptions
@tap_pypi_formula_mappings = tap.pypi_formula_mappings
@problems = []
@formula_names = tap.formula_names.map do |formula_name|
formula_name.split("/").last
end
end
sig { void }