diff options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -168,12 +168,22 @@ func doMain(repo *gitpb.Repo) error { } if argv.Trim { + // the first time, it'll attempt to fix some stuff + cleanGoDepsCheckOk(repo) // try to trim junk if err := trimGoSum(repo); err != nil { return err } + repo.ParseGoSum() } + /* + data, _ := repo.ReadFile("go.mod") + log.Info(string(data)) + data, _ = repo.ReadFile("go.sum") + log.Info(string(data)) + */ + // check go.sum file if err := cleanGoDepsCheckOk(repo); err != nil { log.Info("forge.FinalGoDepsCheck() failed. boo. :", repo.GoPath) |
