fix: make SSH URLs handle usernames other than "git"
Some checks are pending
CI / build (push) Waiting to run
CI / test (built) (push) Blocked by required conditions
CI / test (committed) (push) Blocked by required conditions
CI / commentTestSuiteHelp (push) Blocked by required conditions
CI / package (push) Blocked by required conditions
Some checks are pending
CI / build (push) Waiting to run
CI / test (built) (push) Blocked by required conditions
CI / test (committed) (push) Blocked by required conditions
CI / commentTestSuiteHelp (push) Blocked by required conditions
CI / package (push) Blocked by required conditions
This commit is contained in:
parent
7174d368c2
commit
7a37b54f47
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue