summaryrefslogtreecommitdiff
path: root/cleanGoSum.go
diff options
context:
space:
mode:
Diffstat (limited to 'cleanGoSum.go')
-rw-r--r--cleanGoSum.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/cleanGoSum.go b/cleanGoSum.go
index c310523..49f9787 100644
--- a/cleanGoSum.go
+++ b/cleanGoSum.go
@@ -61,6 +61,12 @@ func (f *Forge) CleanGoDepsCheckOk(check *gitpb.Repo) error {
return err
}
+ // parse the go.sum file
+ if ok, err := check.ParseGoSum(); !ok {
+ log.Info("CleanGoDepsCheckOk() error", err)
+ return err
+ }
+
var err error = nil
log.Printf("current repo %s go dependancy count: %d", check.GetGoPath(), check.GoDepsLen())
all := check.GoDeps.SortByGoPath()