go-mod-clean syntax change

This commit is contained in:
Jeff Carr 2025-06-04 07:41:47 -05:00
parent 4ab621a7f2
commit 21dd714514
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ func makeValidGoSum(check *gitpb.Repo) error {
log.Info("try running go-mod-clean")
// update go.sum and go.mod
if err := check.RunVerbose([]string{"go-mod-clean", "--smart"}); err != nil {
if err := check.RunVerbose([]string{"go-mod-clean", "lax"}); err != nil {
log.Info("")
log.Info("Do you have go-mod-clean? Otherwise:")
log.Info(" go install go.wit.com/apps/go-mod-clean@latest")