mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Merge pull request #11785 from bevanjkay/livecheck-electronbuilder-allowquery
livecheck: allow query parameter in electron_builder strategy url
This commit is contained in:
commit
689c1fdb6e
@ -19,7 +19,7 @@ module Homebrew
|
|||||||
PRIORITY = 0
|
PRIORITY = 0
|
||||||
|
|
||||||
# The `Regexp` used to determine if the strategy applies to the URL.
|
# The `Regexp` used to determine if the strategy applies to the URL.
|
||||||
URL_MATCH_REGEX = %r{^https?://.+/.+\.ya?ml$}i.freeze
|
URL_MATCH_REGEX = %r{^https?://.+/[^/]+\.ya?ml(?:\?[^/?]+)?$}i.freeze
|
||||||
|
|
||||||
# Whether the strategy can be applied to the provided URL.
|
# Whether the strategy can be applied to the provided URL.
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user