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
|
// SSH URL: git@host:owner/repo.git
|
||||||
const sshMatch = trimmed.match(/^git@([^:]+):([^/]+)\/([^/.]+?)(?:\.git)?$/);
|
const sshMatch = trimmed.match(/^git@([^:]+):(.+?)\/([^/.]+?)(?:\.git)?$/);
|
||||||
if (sshMatch) {
|
if (sshMatch) {
|
||||||
const [, host, owner, repo] = sshMatch;
|
const [, host, owner, repo] = sshMatch;
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue