Merge pull request #11146 from reitermarkus/sparkle-first
Always take first item in `Sparkle` strategy.
This commit is contained in:
commit
b29c636d3c
@ -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