Skip to content

Commit

Permalink
missing_formula: no need to tap homebrew/core.
Browse files Browse the repository at this point in the history
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
```
  • Loading branch information
MikeMcQuaid committed Jul 2, 2017
1 parent bb33685 commit 835135c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Library/Homebrew/missing_formula.rb
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ def tap_migration_reason(name)

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
Expand Down

0 comments on commit 835135c

Please sign in to comment.