aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-06-09 15:32:08 -0500
committerJack Nagel2013-06-09 15:32:08 -0500
commite37a828697fadf00ed8ae4d29dd4bb067c2d41d5 (patch)
treee363c4a5c8243137587394634344def154fb834b /Library
parentc384e28ae166320ab638e1dd1f4f42a7fdf7c11f (diff)
downloadhomebrew-e37a828697fadf00ed8ae4d29dd4bb067c2d41d5.tar.bz2
info: remove unreachable code
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/info.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/Library/Homebrew/cmd/info.rb b/Library/Homebrew/cmd/info.rb
index 67a009877..de98d692c 100644
--- a/Library/Homebrew/cmd/info.rb
+++ b/Library/Homebrew/cmd/info.rb
@@ -135,16 +135,6 @@ module Homebrew extend self
c = Caveats.new(f)
ohai 'Caveats', c.caveats unless c.empty?
-
- rescue FormulaUnavailableError
- # check for DIY installation
- d = HOMEBREW_PREFIX+name
- if d.directory?
- ohai "DIY Installation"
- d.children.each{ |keg| puts "#{keg} (#{keg.abv})" }
- else
- raise "No such formula or keg"
- end
end
private