diff --git a/src/git-config-helper.ts b/src/git-config-helper.ts index f5f484b..0220696 100644 --- a/src/git-config-helper.ts +++ b/src/git-config-helper.ts @@ -92,7 +92,7 @@ export class GitConfigHelper { } } - const sshUrlPattern = new RegExp('^git@(.+?):(.+/.+)\\.git$', 'i') + const sshUrlPattern = new RegExp('^.+@(.+?):(.+/.+)\\.git$', 'i') const sshMatch = remoteUrl.match(sshUrlPattern) if (sshMatch) { return {