mirror of
https://github.com/Homebrew/brew.git
synced 2026-10-28 09:34:42 +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:
1 file changed
+1
-1
@@ -19,7 +19,7 @@ module Homebrew
|
||||
PRIORITY = 0
|
||||
|
||||
# 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.
|
||||
#
|
||||
|
||||
Reference in new issue
Block a user