summaryrefslogtreecommitdiff
path: root/doVerify.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-21 06:40:33 -0500
committerJeff Carr <[email protected]>2025-10-21 06:40:33 -0500
commit46aae682f88cd9171e81d536d85436c2b6cfc469 (patch)
tree7cf3dec84ef4342c1ca09e5a4a7b7a09e92133bd /doVerify.go
parent9941532f439ac9774803db3328b66b158654efaf (diff)
use lib/ENV
Diffstat (limited to 'doVerify.go')
-rw-r--r--doVerify.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/doVerify.go b/doVerify.go
index 72c7f1d..c9b9cc4 100644
--- a/doVerify.go
+++ b/doVerify.go
@@ -7,7 +7,7 @@ import (
"errors"
"path/filepath"
- "go.wit.com/lib/config"
+ "go.wit.com/lib/ENV"
"go.wit.com/lib/protobuf/argvpb"
"go.wit.com/lib/protobuf/gitpb"
"go.wit.com/log"
@@ -30,7 +30,7 @@ func doVerify() (string, error) {
func cleanNamespace(r *gitpb.Repo) string {
// check for GO repos
- gowork := config.Get("gopath")
+ gowork := ENV.Get("gopath")
// todo: detect if using go.work file
newpath, err := filepath.Rel(gowork, r.FullPath)
// log.Info("cleanNamespace()", newpath, gowork, "is gowork. fullpath:", r.FullPath)