Merge pull request #18741 from Homebrew/tap_auditor-renames-exist
tap_auditor: check renamed formula exists
This commit is contained in:
commit
1cb90c6005
@ -10,6 +10,7 @@ module Homebrew
|
|||||||
sig { params(tap: Tap, strict: T.nilable(T::Boolean)).void }
|
sig { params(tap: Tap, strict: T.nilable(T::Boolean)).void }
|
||||||
def initialize(tap, strict:)
|
def initialize(tap, strict:)
|
||||||
Homebrew.with_no_api_env do
|
Homebrew.with_no_api_env do
|
||||||
|
tap.clear_cache if Homebrew::EnvConfig.automatically_set_no_install_from_api?
|
||||||
@name = tap.name
|
@name = tap.name
|
||||||
@path = tap.path
|
@path = tap.path
|
||||||
@tap_audit_exceptions = tap.audit_exceptions
|
@tap_audit_exceptions = tap.audit_exceptions
|
||||||
@ -54,6 +55,7 @@ module Homebrew
|
|||||||
check_formula_list_directory "style_exceptions", @tap_style_exceptions
|
check_formula_list_directory "style_exceptions", @tap_style_exceptions
|
||||||
check_formula_list "pypi_formula_mappings", @tap_pypi_formula_mappings
|
check_formula_list "pypi_formula_mappings", @tap_pypi_formula_mappings
|
||||||
check_formula_list ".github/autobump.txt", @tap_autobump
|
check_formula_list ".github/autobump.txt", @tap_autobump
|
||||||
|
check_formula_list "formula_renames", @formula_renames.values
|
||||||
end
|
end
|
||||||
|
|
||||||
sig { void }
|
sig { void }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user