diff --git a/Library/Homebrew/livecheck/strategy/sparkle.rb b/Library/Homebrew/livecheck/strategy/sparkle.rb index e2833eabc2..bb5320aa8a 100644 --- a/Library/Homebrew/livecheck/strategy/sparkle.rb +++ b/Library/Homebrew/livecheck/strategy/sparkle.rb @@ -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.