Don't use Cask::DSL::Version in Sparkle strategy.

This commit is contained in:
Markus Reiter 2020-12-14 02:08:35 +01:00 committed by Sam Ford
parent 6a125401c7
commit 9017778326
No known key found for this signature in database
GPG Key ID: 95209E46C7FFDEFE

View File

@ -47,7 +47,7 @@ module Homebrew
if enclosure
match = if block
enclosure[:version] = Cask::DSL::Version.new(enclosure[:version].nice_version)
enclosure[:version] = enclosure[:version].nice_version
block.call(enclosure).to_s
else
enclosure[:version].nice_version