diff options
Diffstat (limited to 'clone.go')
| -rw-r--r-- | clone.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -67,15 +67,15 @@ func clone(gopath string) (*gitpb.Repo, error) { } gopath = CleanRepoURL(gopath) os.Setenv("REPO_AUTO_CLONE", "true") - // pb, _ := forge.NewGoPath(gopath) - check := forge.FindAnyPath(filepath.Join(forge.Config.ReposDir, gopath)) + // pb, _ := me.forge.NewGoPath(gopath) + check := me.forge.FindAnyPath(filepath.Join(me.forge.Config.ReposDir, gopath)) if check != nil { if check.IsValidDir() { // repo already exists and is valid return check, nil } } - pb, err := forge.GoClone(gopath) + pb, err := me.forge.GoClone(gopath) if err != nil { log.Info("clone() could not download err:", err) return nil, err |
