summaryrefslogtreecommitdiff
path: root/clone.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-22 08:15:29 -0600
committerJeff Carr <[email protected]>2025-02-22 08:15:29 -0600
commitf07839992904c74994bf6afcfdbf34bb10121d69 (patch)
tree3de528d42c4ad4ac490147fb6dfa763e454e4010 /clone.go
parentc521620b04473a5a5b3cea826b21d73fed2d2d20 (diff)
tinkeringv0.7.47
Diffstat (limited to 'clone.go')
-rw-r--r--clone.go9
1 files changed, 3 insertions, 6 deletions
diff --git a/clone.go b/clone.go
index e09ffbe..40fa016 100644
--- a/clone.go
+++ b/clone.go
@@ -60,15 +60,12 @@ func recursiveClone(check *gitpb.Repo) error {
} else {
makeValidGoSum(check)
}
- if check.GetGoPrimitive() {
- // go primitive repos are "pure"
- log.Info("repo is primitive", check.GetGoPath())
- return nil
- }
+
+ check.Reload()
if check.GoDeps == nil {
log.Info("repo godeps == nil", check.GetGoPath())
- return errors.New("go.sum is missing?")
+ return errors.New("no go deps?")
}
// probably this should never be 0 because GoPrimitive should have been true otherwise