mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Actually cache Tap#pypi_formula_mappings
.
This commit is contained in:
parent
34af31a05d
commit
1a13097a86
@ -861,8 +861,9 @@ class Tap
|
||||
end
|
||||
|
||||
# Hash with pypi formula mappings
|
||||
sig { returns(Hash) }
|
||||
def pypi_formula_mappings
|
||||
@pypi_formula_mappings = read_formula_list path/HOMEBREW_TAP_PYPI_FORMULA_MAPPINGS_FILE
|
||||
@pypi_formula_mappings ||= read_formula_list(path/HOMEBREW_TAP_PYPI_FORMULA_MAPPINGS_FILE)
|
||||
end
|
||||
|
||||
# Array with synced versions formulae
|
||||
|
Loading…
x
Reference in New Issue
Block a user