Merge pull request #6060 from MikeMcQuaid/info-frozen

cmd/info: fix frozen pathname usage.
This commit is contained in:
Mike McQuaid 2019-04-24 16:02:35 -07:00 committed by GitHub
commit 057443c20a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,7 +73,7 @@ module Homebrew
output_analytics output_analytics
elsif HOMEBREW_CELLAR.exist? elsif HOMEBREW_CELLAR.exist?
count = Formula.racks.length count = Formula.racks.length
puts "#{count} #{"keg".pluralize(count)}, #{HOMEBREW_CELLAR.abv}" puts "#{count} #{"keg".pluralize(count)}, #{HOMEBREW_CELLAR.dup.abv}"
end end
else else
ARGV.named.each_with_index do |f, i| ARGV.named.each_with_index do |f, i|