livecheck/strategy/extract_plist: pass livecheck url as string

This commit is contained in:
Bevan Kay 2024-10-09 11:35:32 +11:00
parent 69f04bc069
commit 25e34919cb
No known key found for this signature in database
GPG Key ID: C55CB024B5314B57

View File

@ -104,7 +104,7 @@ module Homebrew
# Create a copy of the `cask` that uses the `livecheck` block URL
cask_copy = Cask::CaskLoader.load(cask.sourcefile_path)
cask_copy.allow_reassignment = true
cask_copy.url { url }
cask_copy.url url
UnversionedCaskChecker.new(cask_copy)
else
UnversionedCaskChecker.new(cask)