diff options
| author | Mike McQuaid | 2017-07-02 15:28:44 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2017-07-02 15:28:44 +0100 |
| commit | 835135cb68a8882d822e4903e43ff6dcce402cd3 (patch) | |
| tree | 2ca7b00e167cafb61488eba058155234d7eba315 | |
| parent | bb33685255271b1ea0d7d44262fa6620a6e32fde (diff) | |
| download | brew-835135cb68a8882d822e4903e43ff6dcce402cd3.tar.bz2 | |
missing_formula: no need to tap homebrew/core.
Avoiding printing the weird message e.g:
```
It was migrated from homebrew/science to homebrew/core.
You can access it again by running:
brew tap homebrew/core
```
| -rw-r--r-- | Library/Homebrew/missing_formula.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/missing_formula.rb b/Library/Homebrew/missing_formula.rb index 75498b128..57450ea84 100644 --- a/Library/Homebrew/missing_formula.rb +++ b/Library/Homebrew/missing_formula.rb @@ -109,6 +109,10 @@ module Homebrew message = <<-EOS.undent It was migrated from #{old_tap} to #{new_tap}. + EOS + break if new_tap_name == CoreTap.instance.name + + message += <<-EOS.undent You can access it again by running: brew tap #{new_tap_name} EOS |
