summaryrefslogtreecommitdiff
path: root/findNext.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-22 09:18:42 -0500
committerJeff Carr <[email protected]>2025-10-22 09:18:42 -0500
commit1b2ddac942d525bb543fe21b00b4abf692f599fb (patch)
tree8e72c1e14a7b21de81144ddb0a1bcd838fc6c9c7 /findNext.go
parent9836434ac9ac1313e5fd3ce4675fbf6dac4421e2 (diff)
step1
Diffstat (limited to 'findNext.go')
-rw-r--r--findNext.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/findNext.go b/findNext.go
index 6147115..261e47c 100644
--- a/findNext.go
+++ b/findNext.go
@@ -8,6 +8,7 @@ import (
"go.wit.com/log"
+ "go.wit.com/lib/ENV"
"go.wit.com/lib/protobuf/gitpb"
)
@@ -156,7 +157,7 @@ func testGoDepsCheckOk(godeps *gitpb.GoDeps, verbose bool) error {
all := godeps.SortByGoPath()
for all.Scan() {
depRepo := all.Next()
- fullpath := filepath.Join(me.forge.Config.ReposDir, depRepo.GoPath)
+ fullpath := filepath.Join(ENV.Get("gopath"), depRepo.GoPath)
found := me.found.FindByFullPath(fullpath)
if found == nil {
continue