summaryrefslogtreecommitdiff
path: root/isPrimitive.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-17 06:37:14 -0600
committerJeff Carr <[email protected]>2024-12-17 06:37:14 -0600
commit233f7bca767aab9df55adea409e9820050631586 (patch)
tree1ce61760e8b31077b9accc9b1da978d935a132d3 /isPrimitive.go
parent4bc95ad2684cb42159229b8198aa8a2377f80aa1 (diff)
lots of changes to isolate exec 'git'
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
}