diff options
| author | Jeff Carr <[email protected]> | 2024-12-18 22:02:19 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-18 22:02:19 -0600 |
| commit | b91313e96c0faaa69e2b7712a31885cf8aa2e743 (patch) | |
| tree | e3cac9a9d2bb5086827de435a972563d5df7a125 /doStrict.go | |
| parent | ae64a4d1665578950709d44a778dcbf1382d6228 (diff) | |
Diffstat (limited to 'doStrict.go')
| -rw-r--r-- | doStrict.go | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/doStrict.go b/doStrict.go index f5e7cfa..aeea171 100644 --- a/doStrict.go +++ b/doStrict.go @@ -53,6 +53,7 @@ func doStrict(repo *gitpb.Repo) error { // actually will re-create go.sum and go.mod now if err := redoGoMod(repo); err != nil { + log.Info(repo.GetGoPath(), "redoGoMod() failed", err) return err } @@ -60,9 +61,14 @@ func doStrict(repo *gitpb.Repo) error { cleanGoDepsCheckOk(repo) // try to trim junk if err := trimGoSum(repo); err != nil { + log.Info(repo.GetGoPath(), "trimGoSum() failed", err) return err } - repo.ParseGoSum() + if repo.ParseGoSum() { + log.Info(repo.GetGoPath(), "ParseGoSum() ok") + } else { + log.Info(repo.GetGoPath(), "ParseGoSum() failed") + } // check go.sum file if err := cleanGoDepsCheckOk(repo); err != nil { |
