livecheck/strategy/extract_plist: pass livecheck url as string
This commit is contained in:
parent
69f04bc069
commit
25e34919cb
@ -104,7 +104,7 @@ module Homebrew
|
|||||||
# Create a copy of the `cask` that uses the `livecheck` block URL
|
# Create a copy of the `cask` that uses the `livecheck` block URL
|
||||||
cask_copy = Cask::CaskLoader.load(cask.sourcefile_path)
|
cask_copy = Cask::CaskLoader.load(cask.sourcefile_path)
|
||||||
cask_copy.allow_reassignment = true
|
cask_copy.allow_reassignment = true
|
||||||
cask_copy.url { url }
|
cask_copy.url url
|
||||||
UnversionedCaskChecker.new(cask_copy)
|
UnversionedCaskChecker.new(cask_copy)
|
||||||
else
|
else
|
||||||
UnversionedCaskChecker.new(cask)
|
UnversionedCaskChecker.new(cask)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user