chore: Update gitlab host in config_util.py

This commit is contained in:
bobo 2024-05-20 21:24:31 +08:00
parent ec187a0c1b
commit a7566e5055

View File

@ -10,7 +10,7 @@ def get_repo_type(url):
# 根据URL的特征判断仓库管理类型
if "github.com" in url:
return "github"
elif "gitlab.com" in url or "/gitlab/" in url:
elif "gitlab.com" in url or "gitlab" in url:
return "gitlab"
elif "bitbucket.org" in url:
return "bitbucket"