fix: support nested group paths in SSH Git URLs
This commit is contained in:
parent
724867d48d
commit
ddeba1eacb
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue