Skip to content
Snippets Groups Projects
Commit 5627ed21 authored by Misty De Meo's avatar Misty De Meo
Browse files

info: Only print Cellar info if it exists

parent cf5c97bb
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ module Homebrew extend self
info_formula f
puts '---'
end
else
elsif HOMEBREW_CELLAR.exist?
puts "#{HOMEBREW_CELLAR.children.length} kegs, #{HOMEBREW_CELLAR.abv}"
end
elsif valid_url ARGV[0]
......
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