add user/pass to git clone

This commit is contained in:
shawnps
2015-02-07 07:18:49 -08:00
parent 9ecc3714e2
commit 9b6d3051fa

View File

@@ -156,8 +156,8 @@ func getGrade(percentage float64) Grade {
func newChecksResp(repo string, forceRefresh bool) (checksResp, error) {
url := repo
if !strings.HasPrefix(url, "https://github.com/") {
url = "https://github.com/" + url
if !strings.HasPrefix(url, "https://gojp:gojp@github.com/") {
url = "https://gojp:gojp@github.com/" + url
}
if !forceRefresh {