diff --git a/src/utils/GitHelper.ts b/src/utils/GitHelper.ts index 43573b2..720a329 100644 --- a/src/utils/GitHelper.ts +++ b/src/utils/GitHelper.ts @@ -111,7 +111,9 @@ export default class GitHelper { input = Utils.removeHttpHttps(input) if (!input.startsWith('git@')) { // If we get here, we have something like github.com/username/repository.git - input = input.replace('/', ':') + if (input.indexOf(':') < 0) { + input = input.replace('/', ':') + } input = `git@${input}` }