fix: support nested group paths in SSH Git URLs

This commit is contained in:
Hanh Nguyen 2026-05-13 12:33:09 +07:00
parent 724867d48d
commit ddeba1eacb
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ class CustomModuleManager {
}
// SSH URL: git@host:owner/repo.git
const sshMatch = trimmed.match(/^git@([^:]+):([^/]+)\/([^/.]+?)(?:\.git)?$/);
const sshMatch = trimmed.match(/^git@([^:]+):(.+?)\/([^/.]+?)(?:\.git)?$/);
if (sshMatch) {
const [, host, owner, repo] = sshMatch;
return {