Actually cache Tap#style_exceptions.
This commit is contained in:
parent
9e8acb6312
commit
34af31a05d
@ -857,7 +857,7 @@ class Tap
|
|||||||
# Hash with style exceptions
|
# Hash with style exceptions
|
||||||
sig { returns(Hash) }
|
sig { returns(Hash) }
|
||||||
def style_exceptions
|
def style_exceptions
|
||||||
@style_exceptions = read_formula_list_directory "#{HOMEBREW_TAP_STYLE_EXCEPTIONS_DIR}/*"
|
@style_exceptions ||= read_formula_list_directory("#{HOMEBREW_TAP_STYLE_EXCEPTIONS_DIR}/*")
|
||||||
end
|
end
|
||||||
|
|
||||||
# Hash with pypi formula mappings
|
# Hash with pypi formula mappings
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user