Kasra Bigdeli
2021-07-03 10:27:37 -07:00
parent f5b9393e35
commit b2aef40c0b
+3 -1
View File
@@ -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}`
}