mirror of
https://github.com/caprover/caprover
synced 2026-10-22 04:40:56 +00:00
This commit is contained in:
1 parent
f5b9393e35
commit
b2aef40c0b
1 file changed
+3
-1
@@ -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}`
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user