From a7566e5055117e8ed3e5de0902b40197be37190e Mon Sep 17 00:00:00 2001 From: bobo Date: Mon, 20 May 2024 21:24:31 +0800 Subject: [PATCH] chore: Update gitlab host in config_util.py --- merico/pr/config_util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/merico/pr/config_util.py b/merico/pr/config_util.py index 6b6b20b..21dc28e 100644 --- a/merico/pr/config_util.py +++ b/merico/pr/config_util.py @@ -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"