From 9a384f5134f19663f90ccf5737635051e11ebb90 Mon Sep 17 00:00:00 2001 From: Xu Cheng Date: Sun, 6 Dec 2015 22:28:32 +0800 Subject: [PATCH] exceptions: tap is a Tap object now --- Library/Homebrew/exceptions.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb index 2199d27d32..849272610c 100644 --- a/Library/Homebrew/exceptions.rb +++ b/Library/Homebrew/exceptions.rb @@ -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