livecheck: clean up comment
This commit is contained in:
parent
5332e877b2
commit
417bb2ebfd
@ -341,7 +341,7 @@ module Homebrew
|
|||||||
elsif host.end_with?("git.sr.ht")
|
elsif host.end_with?("git.sr.ht")
|
||||||
owner, repo = path.split("/")
|
owner, repo = path.split("/")
|
||||||
url = "#{scheme}://#{host}/#{owner}/#{repo}"
|
url = "#{scheme}://#{host}/#{owner}/#{repo}"
|
||||||
# gitlab
|
# GitLab (gitlab.com or self-hosted)
|
||||||
elsif path.include?("/-/archive/")
|
elsif path.include?("/-/archive/")
|
||||||
url = url.sub(%r{/-/archive/.*$}i, ".git")
|
url = url.sub(%r{/-/archive/.*$}i, ".git")
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user