Skip to content
Snippets Groups Projects
Unverified Commit d600ceb0 authored by Mike McQuaid's avatar Mike McQuaid Committed by GitHub
Browse files

Merge pull request #6488 from MikeMcQuaid/tab-tap

formula_installer: output better tapped formula message.
parents 28fc2680 c9e0ba7d
No related branches found
No related tags found
No related merge requests found
......@@ -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."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment