exceptions: direct to correct tap on failure.

Closes Homebrew/homebrew#23757.
This commit is contained in:
Mike McQuaid 2013-10-29 15:46:29 -04:00
parent 4c0fd46329
commit 55947f84a5

View File

@ -182,6 +182,9 @@ class BuildError < Homebrew::InstallationError
if not ARGV.verbose?
puts
puts "#{Tty.red}READ THIS#{Tty.reset}: #{Tty.em}#{ISSUES_URL}#{Tty.reset}"
if formula.tap?
puts "If reporting this please do so at the #{formula.tap} tap (not mxcl/homebrew)."
end
else
require 'cmd/--config'
require 'cmd/--env'