Skip to content
Snippets Groups Projects
Commit 9a384f51 authored by Xu Cheng's avatar Xu Cheng
Browse files

exceptions: tap is a Tap object now

parent 62a623f0
No related branches found
No related tags found
No related merge requests found
......@@ -230,8 +230,8 @@ class BuildError < RuntimeError
puts
puts "#{Tty.red}READ THIS#{Tty.reset}: #{Tty.em}#{OS::ISSUES_URL}#{Tty.reset}"
if formula.tap?
case formula.tap
when "homebrew/homebrew-boneyard"
case formula.tap.name
when "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
......
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