Kasra Bigdeli
2021-08-19 21:11:59 -07:00
parent 0a9af7c99b
commit 5e9ca67218
+4 -1
View File
@@ -78,7 +78,10 @@ export default class GitHelper {
// Some people put https when they are entering their git information
const REPO_PATH = GitHelper.sanitizeRepoPathHttps(repo)
const remote = `https://${USER}:${PASS}@${REPO_PATH}`
// respect the explicit http repo path
const SCHEME = repo.startsWith('http://') ? 'http' : 'https'
const remote = `${SCHEME}://${USER}:${PASS}@${REPO_PATH}`
Logger.dev(`Cloning HTTPS ${remote}`)
return git() //
.silent(true) //