summaryrefslogtreecommitdiff
path: root/isPrimitive.go
diff options
context:
space:
mode:
Diffstat (limited to 'isPrimitive.go')
-rw-r--r--isPrimitive.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/isPrimitive.go b/isPrimitive.go
index 7755cfb..a632e1a 100644
--- a/isPrimitive.go
+++ b/isPrimitive.go
@@ -51,13 +51,13 @@ func (repo *Repo) IsPrimitive() (bool, error) {
}
if parts[0] == "go" {
if parts[1] != "1.21" {
- log.Log(GITPBWARN, "go not set to 1.21 for", repo.GoPath)
- // return false, errors.New("go not set to 1.21 for " + repo.GoPath)
+ log.Log(GITPBWARN, "go not set to 1.21 for", repo.GetGoPath())
+ // return false, errors.New("go not set to 1.21 for " + repo.GetGoPath())
}
}
}
}
- repo.GoPrimitive = true
+ repo.GoInfo.GoPrimitive = true
repo.GoDeps = nil
return true, nil
}