Merge pull request #6488 from MikeMcQuaid/tab-tap
formula_installer: output better tapped formula message.
This commit is contained in:
commit
d600ceb0b4
@ -574,7 +574,7 @@ class FormulaInstaller
|
||||
end
|
||||
|
||||
tab_tap = tab.source["tap"]
|
||||
if df.tap.to_s != tab_tap
|
||||
if tab_tap.present? && df.tap.present? && df.tap.to_s != tab_tap.to_s
|
||||
odie <<~EOS
|
||||
#{df} is already installed from #{tab_tap}!
|
||||
Please `brew uninstall #{df}` first."
|
||||
|
Loading…
x
Reference in New Issue
Block a user