Too much find and replace
Co-authored-by: Bo Anderson <mail@boanderson.me>
This commit is contained in:
parent
621ddc60d1
commit
7047edcbdb
@ -776,8 +776,8 @@ module Homebrew
|
|||||||
problem "#{stable.version} is a development release"
|
problem "#{stable.version} is a development release"
|
||||||
|
|
||||||
when %r{https?://gitlab\.com/([\w-]+)/([\w-]+)}
|
when %r{https?://gitlab\.com/([\w-]+)/([\w-]+)}
|
||||||
owner = T.must(T.must(Regexp.last_match(1)))
|
owner = T.must(Regexp.last_match(1))
|
||||||
repo = T.must(T.must(Regexp.last_match(2)))
|
repo = T.must(Regexp.last_match(2))
|
||||||
|
|
||||||
tag = SharedAudits.gitlab_tag_from_url(url)
|
tag = SharedAudits.gitlab_tag_from_url(url)
|
||||||
tag ||= stable.specs[:tag]
|
tag ||= stable.specs[:tag]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user