未验证 提交 417bb2eb 编辑于 作者: Sam Ford's avatar Sam Ford
浏览文件

livecheck: clean up comment

上级 5332e877
......@@ -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
......
支持 Markdown
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册