aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/migrator.rb2
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"