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