tinkering

This commit is contained in:
Jeff Carr 2025-02-22 08:15:29 -06:00
parent c521620b04
commit f078399929
1 changed files with 3 additions and 6 deletions

View File

@ -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