summaryrefslogtreecommitdiff
path: root/findNext.go
diff options
context:
space:
mode:
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