diff options
| author | Jeff Carr <[email protected]> | 2025-10-19 04:48:28 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-19 04:48:28 -0500 |
| commit | 867b8dce9ea8f9f22718313691664f1f0e97e4c8 (patch) | |
| tree | d2d45fffa8e106475a09b766b6bf316aff92d56e /clone.go | |
| parent | 2896bf0b1d58b27b331ea437c7c5a7d7318c8e43 (diff) | |
new argv
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 |
