Skip to content

Commit

Permalink
Actually cache Tap#pypi_formula_mappings.
Browse files Browse the repository at this point in the history
  • Loading branch information
reitermarkus committed Mar 4, 2024
1 parent 34af31a commit 1ca561f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Library/Homebrew/tap.rb
Expand Up @@ -861,8 +861,9 @@ def style_exceptions
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)
end

# Array with synced versions formulae
Expand Down

0 comments on commit 1ca561f

Please sign in to comment.