info: remove unreachable code
This commit is contained in:
parent
1d265e5a0a
commit
f1df7f208f
@ -135,16 +135,6 @@ module Homebrew extend self
|
|||||||
|
|
||||||
c = Caveats.new(f)
|
c = Caveats.new(f)
|
||||||
ohai 'Caveats', c.caveats unless c.empty?
|
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
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user