aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/upgrade.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/upgrade.rb b/Library/Homebrew/cmd/upgrade.rb
index f86e8a871..2f7bede42 100644
--- a/Library/Homebrew/cmd/upgrade.rb
+++ b/Library/Homebrew/cmd/upgrade.rb
@@ -17,7 +17,7 @@ module Homebrew extend self
ARGV.formulae.map{ |f| [f.prefix.parent, f.name, f.version] }
end
- if outdated.count > 1
+ if outdated.length > 1
oh1 "Upgrading #{outdated.count} outdated package#{outdated.count.plural_s}, with result:"
puts outdated.map{ |_, name, version| "#{name} #{version}" } * ", "
end