diff options
Diffstat (limited to 'Library/Homebrew/migrator.rb')
| -rw-r--r-- | Library/Homebrew/migrator.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Homebrew/migrator.rb b/Library/Homebrew/migrator.rb index 3418073d0..0492624ef 100644 --- a/Library/Homebrew/migrator.rb +++ b/Library/Homebrew/migrator.rb @@ -31,9 +31,7 @@ class Migrator msg = if tap == "Homebrew/homebrew" "Please try to use #{formula.oldname} to refer the formula.\n" elsif tap - user, repo = tap.split("/") - repo.sub!("homebrew-", "") - "Please try to use fully-qualified #{user}/#{repo}/#{formula.oldname} to refer the formula.\n" + "Please try to use fully-qualified #{Tap.fetch(*tap.split("/"))}/#{formula.oldname} to refer the formula.\n" end super <<-EOS.undent |
