Use .each, not .all? to enumerate formulae
This commit is contained in:
parent
09e483c946
commit
c4cdd2b7ac
@ -11,7 +11,7 @@ module Homebrew
|
|||||||
Please use the homebrew-versions tap instead:
|
Please use the homebrew-versions tap instead:
|
||||||
https://github.com/Homebrew/homebrew-versions
|
https://github.com/Homebrew/homebrew-versions
|
||||||
EOS
|
EOS
|
||||||
ARGV.formulae.all? do |f|
|
ARGV.formulae.each do |f|
|
||||||
versions = FormulaVersions.new(f)
|
versions = FormulaVersions.new(f)
|
||||||
path = versions.repository_path
|
path = versions.repository_path
|
||||||
versions.each do |version, rev|
|
versions.each do |version, rev|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user