Leopard: Eliminate moar Array.count from brew upgrade

This commit is contained in:
Charlie Sharpsteen 2011-08-25 18:02:36 -07:00
parent b42052b279
commit e527c1c83a

View File

@ -18,7 +18,7 @@ module Homebrew extend self
end
if outdated.length > 1
oh1 "Upgrading #{outdated.count} outdated package#{outdated.count.plural_s}, with result:"
oh1 "Upgrading #{outdated.length} outdated package#{outdated.length.plural_s}, with result:"
puts outdated.map{ |_, name, version| "#{name} #{version}" } * ", "
end