This commit is contained in:
Jeff Carr 2024-12-03 03:19:12 -06:00
parent 6342113c2a
commit dfae92e3c3
1 changed files with 4 additions and 1 deletions

View File

@ -20,7 +20,10 @@ func (f *Forge) FinalGoDepsCheckOk(check *gitpb.Repo) bool {
}
// clear out the protobuf and rescan from the file
check.GoDeps = nil
check.ParseGoSum()
if ok, err := check.ParseGoSum(); ! ok {
log.Info("FinalGoDepsCheckOk() error", err)
return false
}
if check.GoDepsLen() == 0 {
// this is a primitive