Skip to content

Commit

Permalink
Merge pull request Homebrew#16797 from Homebrew/revert-caching-of-rev…
Browse files Browse the repository at this point in the history
…erse-tap-migrations-renames

tap: revert caching `Tap.reverse_tap_migrations_renames`
  • Loading branch information
apainintheneck authored Mar 2, 2024
2 parents 5075f94 + fb055f7 commit 53c1107
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/tap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,7 @@ def formula_reverse_renames

sig { returns(T::Hash[String, T::Array[String]]) }
def self.reverse_tap_migrations_renames
cache[:reverse_tap_migrations_renames] ||= Tap.each_with_object({}) do |tap, hash|
Tap.each_with_object({}) do |tap, hash|
tap.tap_migrations.each do |old_name, new_name|
new_tap_user, new_tap_repo, new_name = new_name.split("/", 3)
next unless new_name
Expand Down

0 comments on commit 53c1107

Please sign in to comment.