Use .each, not .all? to enumerate formulae

This commit is contained in:
Jack Nagel 2014-06-19 19:14:06 -05:00
parent 09e483c946
commit c4cdd2b7ac

View File

@ -11,7 +11,7 @@ module Homebrew
Please use the homebrew-versions tap instead:
https://github.com/Homebrew/homebrew-versions
EOS
ARGV.formulae.all? do |f|
ARGV.formulae.each do |f|
versions = FormulaVersions.new(f)
path = versions.repository_path
versions.each do |version, rev|