livecheck: clean up comment

This commit is contained in:
Sam Ford 2020-11-26 10:33:20 -05:00
parent 5332e877b2
commit 417bb2ebfd
No known key found for this signature in database
GPG Key ID: 95209E46C7FFDEFE

View File

@ -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