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?
|
Item.new(**data) unless data.empty?
|
||||||
end.compact
|
end.compact
|
||||||
|
|
||||||
items.max_by(&:bundle_version)
|
items.first
|
||||||
end
|
end
|
||||||
|
|
||||||
# Checks the content at the URL for new versions.
|
# Checks the content at the URL for new versions.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user