Always take first item in Sparkle strategy.
This commit is contained in:
parent
8853fb6c13
commit
bbf8a10f2c
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user