exceptions: tap is a Tap object now

This commit is contained in:
Xu Cheng 2015-12-06 22:28:32 +08:00
parent 62a623f0c3
commit 9a384f5134

View File

@ -230,8 +230,8 @@ 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?
case formula.tap case formula.tap.name
when "homebrew/homebrew-boneyard" when "homebrew/boneyard"
puts "#{formula} was moved to homebrew-boneyard because it has unfixable issues." puts "#{formula} was moved to homebrew-boneyard because it has unfixable issues."
puts "Please do not file any issues about this. Sorry!" puts "Please do not file any issues about this. Sorry!"
else else