use go-mod-clean --strict here

This commit is contained in:
Jeff Carr 2024-12-14 18:47:28 -06:00
parent e214aff7db
commit 47085c837e
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ func runGoClean(check *gitpb.Repo) bool {
// check if the package dependancies changed, if so, re-publish
check.GoDeps = nil
cmd := []string{"go-mod-clean"}
cmd := []string{"go-mod-clean", "--strict"}
log.Info("Running", cmd, "in", check.GoPath)
result := check.RunRealtime(cmd)
if result.Error != nil {