Leopard: Eliminate moar Array.count from brew upgrade
This commit is contained in:
parent
b42052b279
commit
e527c1c83a
@ -18,7 +18,7 @@ module Homebrew extend self
|
|||||||
end
|
end
|
||||||
|
|
||||||
if outdated.length > 1
|
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}" } * ", "
|
puts outdated.map{ |_, name, version| "#{name} #{version}" } * ", "
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user