summaryrefslogtreecommitdiff
path: root/goDep.redoGoMod.go
diff options
context:
space:
mode:
Diffstat (limited to 'goDep.redoGoMod.go')
-rw-r--r--goDep.redoGoMod.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/goDep.redoGoMod.go b/goDep.redoGoMod.go
index 633f07f..ee9e669 100644
--- a/goDep.redoGoMod.go
+++ b/goDep.redoGoMod.go
@@ -13,7 +13,7 @@ func (repo *Repo) ValidGoSum() error {
if !repo.Exists("go.mod") {
return errors.New("ValidGoSum() go.mod is missing")
}
- if repo.GoPrimitive {
+ if repo.GoInfo.GoPrimitive {
if !repo.Exists("go.mod") {
return errors.New("GoPrimitive == true, but go.mod is missing")
}