Actually cache Tap#style_exceptions.
This commit is contained in:
parent
9e8acb6312
commit
34af31a05d
@ -857,7 +857,7 @@ class Tap
|
||||
# Hash with style exceptions
|
||||
sig { returns(Hash) }
|
||||
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
|
||||
|
||||
# Hash with pypi formula mappings
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user