diff options
| author | Jeff Carr <[email protected]> | 2025-02-22 08:15:29 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-22 08:15:29 -0600 |
| commit | f07839992904c74994bf6afcfdbf34bb10121d69 (patch) | |
| tree | 3de528d42c4ad4ac490147fb6dfa763e454e4010 /clone.go | |
| parent | c521620b04473a5a5b3cea826b21d73fed2d2d20 (diff) | |
tinkeringv0.7.47
Diffstat (limited to 'clone.go')
| -rw-r--r-- | clone.go | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -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 |
