Actually cache Tap#audit_exceptions.
This commit is contained in:
parent
8d4e841965
commit
9e8acb6312
@ -851,7 +851,7 @@ class Tap
|
||||
# Hash with audit exceptions
|
||||
sig { returns(Hash) }
|
||||
def audit_exceptions
|
||||
@audit_exceptions = read_formula_list_directory "#{HOMEBREW_TAP_AUDIT_EXCEPTIONS_DIR}/*"
|
||||
@audit_exceptions ||= read_formula_list_directory("#{HOMEBREW_TAP_AUDIT_EXCEPTIONS_DIR}/*")
|
||||
end
|
||||
|
||||
# Hash with style exceptions
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user