diff options
| author | Xu Cheng | 2016-03-08 21:53:29 +0800 |
|---|---|---|
| committer | Xu Cheng | 2016-03-08 21:55:09 +0800 |
| commit | bfb44d9e6723f97ceddcac2774bd89146cad0330 (patch) | |
| tree | 924be8ef48afcb3ad52496942e3abca1654769f2 /Library | |
| parent | 041c8502c5ec6f877211202313a5233132834d0b (diff) | |
| download | brew-bfb44d9e6723f97ceddcac2774bd89146cad0330.tar.bz2 | |
migrator: use Tap#core_tap?
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/migrator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/migrator.rb b/Library/Homebrew/migrator.rb index 3389d57d7..5d6f5d4e6 100644 --- a/Library/Homebrew/migrator.rb +++ b/Library/Homebrew/migrator.rb @@ -27,7 +27,7 @@ class Migrator class MigratorDifferentTapsError < RuntimeError def initialize(formula, tap) - msg = if tap == "Homebrew/homebrew" + msg = if tap.core_tap? "Please try to use #{formula.oldname} to refer the formula.\n" elsif tap "Please try to use fully-qualified #{tap}/#{formula.oldname} to refer the formula.\n" |
