Skip to content
Snippets Groups Projects
Unverified Commit 417bb2eb authored by Sam Ford's avatar Sam Ford
Browse files

livecheck: clean up comment

parent 5332e877
No related branches found
No related tags found
No related merge requests found
......@@ -341,7 +341,7 @@ module Homebrew
elsif host.end_with?("git.sr.ht")
owner, repo = path.split("/")
url = "#{scheme}://#{host}/#{owner}/#{repo}"
# gitlab
# GitLab (gitlab.com or self-hosted)
elsif path.include?("/-/archive/")
url = url.sub(%r{/-/archive/.*$}i, ".git")
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment