summaryrefslogtreecommitdiff
path: root/findNext.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-17 20:47:35 -0600
committerJeff Carr <[email protected]>2024-12-17 20:47:35 -0600
commit491c4455d8e3df13d9ef1ce52751cc35292ad337 (patch)
tree0d878ea469a3e1967ad91a4b8e2850d892144bc6 /findNext.go
parent4e0a111c8c60e8a869099de3fd521629d0f83ceb (diff)
use GetGoPrimitive()
Diffstat (limited to 'findNext.go')
-rw-r--r--findNext.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/findNext.go b/findNext.go
index 1e04bc9..bb11064 100644
--- a/findNext.go
+++ b/findNext.go
@@ -134,7 +134,11 @@ func fixGodeps(check *gitpb.Repo) bool {
return false
}
// skip primative ones
- if ok, _ := check.IsPrimitive(); ok {
+ if check.GetGoPrimitive() {
+ if check.Exists("go.sum") {
+ log.Info("fixGoDeps() has go.sum but says it is primitive", check.GetGoPath())
+ return false
+ }
log.Info("fixGoDeps() skipping primitive", check.GetGoPath())
return true
}