exceptions: instruct not to file boneyard issues.

This commit is contained in:
Mike McQuaid 2015-02-26 19:17:12 +00:00
parent 8ec6245c18
commit b9790ffe3a

View File

@ -153,8 +153,14 @@ class BuildError < RuntimeError
puts puts
puts "#{Tty.red}READ THIS#{Tty.reset}: #{Tty.em}#{OS::ISSUES_URL}#{Tty.reset}" puts "#{Tty.red}READ THIS#{Tty.reset}: #{Tty.em}#{OS::ISSUES_URL}#{Tty.reset}"
if formula.tap? if formula.tap?
puts "If reporting this issue please do so at (not Homebrew/homebrew):" case formula.tap
puts " https://github.com/#{formula.tap}/issues" when "homebrew/homebrew-boneyard"
puts "#{formula} was moved to homebrew-boneyard because it has unfixable issues."
puts "Please do not file any issues about this. Sorry!"
else
puts "If reporting this issue please do so at (not Homebrew/homebrew):"
puts " https://github.com/#{formula.tap}/issues"
end
end end
else else
require 'cmd/config' require 'cmd/config'