summaryrefslogtreecommitdiff
path: root/doStrict.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-18 22:02:19 -0600
committerJeff Carr <[email protected]>2024-12-18 22:02:19 -0600
commitb91313e96c0faaa69e2b7712a31885cf8aa2e743 (patch)
treee3cac9a9d2bb5086827de435a972563d5df7a125 /doStrict.go
parentae64a4d1665578950709d44a778dcbf1382d6228 (diff)
oops. go mod tidy makes the go.sum filev0.0.27v0.0.26v0.0.25v0.0.24v0.0.23v0.0.22v0.0.21
Diffstat (limited to 'doStrict.go')
-rw-r--r--doStrict.go8
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 {