summaryrefslogtreecommitdiff
path: root/goDebCheck.go
diff options
context:
space:
mode:
Diffstat (limited to 'goDebCheck.go')
-rw-r--r--goDebCheck.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/goDebCheck.go b/goDebCheck.go
index ce0f566..793397f 100644
--- a/goDebCheck.go
+++ b/goDebCheck.go
@@ -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