info: Only print Cellar info if it exists
This commit is contained in:
parent
cf5c97bbcb
commit
5627ed21ce
@ -25,7 +25,7 @@ module Homebrew extend self
|
|||||||
info_formula f
|
info_formula f
|
||||||
puts '---'
|
puts '---'
|
||||||
end
|
end
|
||||||
else
|
elsif HOMEBREW_CELLAR.exist?
|
||||||
puts "#{HOMEBREW_CELLAR.children.length} kegs, #{HOMEBREW_CELLAR.abv}"
|
puts "#{HOMEBREW_CELLAR.children.length} kegs, #{HOMEBREW_CELLAR.abv}"
|
||||||
end
|
end
|
||||||
elsif valid_url ARGV[0]
|
elsif valid_url ARGV[0]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user