readall: allow readall-ing multiple taps at once

This commit is contained in:
Maxim Belkin 2017-10-10 17:54:42 -05:00
parent 56458f03fc
commit 4c0e623bd4
No known key found for this signature in database
GPG Key ID: AC71560D4C5F2338

View File

@ -31,7 +31,7 @@ module Homebrew
taps = if ARGV.named.empty?
Tap
else
[Tap.fetch(ARGV.named.first)]
ARGV.named.map { |t| Tap.fetch(t) }
end
taps.each do |tap|
Homebrew.failed = true unless Readall.valid_tap?(tap, options)