Merge pull request #11895 from Rylan12/fix-tap-audit-exceptions
tap_auditor: use short names when checking exception lists
This commit is contained in:
commit
98eca95935
@ -15,12 +15,15 @@ module Homebrew
|
|||||||
def initialize(tap, strict:)
|
def initialize(tap, strict:)
|
||||||
@name = tap.name
|
@name = tap.name
|
||||||
@path = tap.path
|
@path = tap.path
|
||||||
@formula_names = tap.formula_names
|
|
||||||
@cask_tokens = tap.cask_tokens
|
@cask_tokens = tap.cask_tokens
|
||||||
@tap_audit_exceptions = tap.audit_exceptions
|
@tap_audit_exceptions = tap.audit_exceptions
|
||||||
@tap_style_exceptions = tap.style_exceptions
|
@tap_style_exceptions = tap.style_exceptions
|
||||||
@tap_pypi_formula_mappings = tap.pypi_formula_mappings
|
@tap_pypi_formula_mappings = tap.pypi_formula_mappings
|
||||||
@problems = []
|
@problems = []
|
||||||
|
|
||||||
|
@formula_names = tap.formula_names.map do |formula_name|
|
||||||
|
formula_name.split("/").last
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
sig { void }
|
sig { void }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user