summaryrefslogtreecommitdiff
path: root/clone.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-19 04:48:28 -0500
committerJeff Carr <[email protected]>2025-10-19 04:48:28 -0500
commit867b8dce9ea8f9f22718313691664f1f0e97e4c8 (patch)
treed2d45fffa8e106475a09b766b6bf316aff92d56e /clone.go
parent2896bf0b1d58b27b331ea437c7c5a7d7318c8e43 (diff)
new argv
Diffstat (limited to 'clone.go')
-rw-r--r--clone.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/clone.go b/clone.go
index dbec873..3e9a7f2 100644
--- a/clone.go
+++ b/clone.go
@@ -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