Merge pull request #11895 from Rylan12/fix-tap-audit-exceptions

tap_auditor: use short names when checking exception lists
This commit is contained in:
Rylan Polster 2021-08-20 10:46:38 -04:00 committed by GitHub
commit 98eca95935
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 }