mirror of
https://github.com/caprover/caprover
synced 2026-05-06 03:30:29 +00:00
This commit is contained in:
@@ -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