From 46aae682f88cd9171e81d536d85436c2b6cfc469 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 21 Oct 2025 06:40:33 -0500 Subject: use lib/ENV --- doVerify.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doVerify.go') 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) -- cgit v1.2.3