Git: compact, uniq array from strategy block

This commit is contained in:
Sam Ford 2021-07-26 20:34:12 -04:00
parent a970780851
commit af2c45b297
No known key found for this signature in database
GPG Key ID: 95209E46C7FFDEFE

View File

@ -103,7 +103,7 @@ module Homebrew
when String
match_data[:matches][value] = Version.new(value)
when Array
value.each do |tag|
value.compact.uniq.each do |tag|
match_data[:matches][tag] = Version.new(tag)
end
when nil