summaryrefslogtreecommitdiff
path: root/clone.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-24 18:30:54 -0500
committerJeff Carr <[email protected]>2025-10-24 18:30:54 -0500
commit5314952e14cedbb1d5827f66827c16a58ae05096 (patch)
tree26c099e92b0bfe2af6d5d66b8d5ffaf2922b8418 /clone.go
parentcd341e123d428ab26e92c32fa6eed96ba7a4c15e (diff)
s/ENV/env/ but ENV really is better herev0.7.114
Diffstat (limited to 'clone.go')
-rw-r--r--clone.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/clone.go b/clone.go
index 5b3453e..515fc6b 100644
--- a/clone.go
+++ b/clone.go
@@ -7,7 +7,7 @@ import (
"path/filepath"
"strings"
- "go.wit.com/lib/ENV"
+ "go.wit.com/lib/env"
"go.wit.com/lib/protobuf/gitpb"
"go.wit.com/log"
)
@@ -69,7 +69,7 @@ func clone(gopath string) (*gitpb.Repo, error) {
gopath = CleanRepoURL(gopath)
os.Setenv("REPO_AUTO_CLONE", "true")
// pb, _ := me.forge.NewGoPath(gopath)
- check := me.forge.FindAnyPath(filepath.Join(ENV.Get("gopath"), gopath))
+ check := me.forge.FindAnyPath(filepath.Join(env.Get("gopath"), gopath))
if check != nil {
if check.IsValidDir() {
// repo already exists and is valid