diff --git a/Library/Homebrew/tap.rb b/Library/Homebrew/tap.rb index b6e0c1d2ad5d0..fed9a01d946c9 100644 --- a/Library/Homebrew/tap.rb +++ b/Library/Homebrew/tap.rb @@ -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