Always take first item in Sparkle strategy.

This commit is contained in:
Markus Reiter 2021-04-15 01:15:47 +02:00
parent 8853fb6c13
commit bbf8a10f2c
No known key found for this signature in database
GPG Key ID: 245293B51702655B

View File

@ -91,7 +91,7 @@ module Homebrew
Item.new(**data) unless data.empty?
end.compact
items.max_by(&:bundle_version)
items.first
end
# Checks the content at the URL for new versions.