From 47085c837ed1c0f445d3805b9f8ce23b6d3c8b76 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 14 Dec 2024 18:47:28 -0600 Subject: [PATCH] use go-mod-clean --strict here --- findNext.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/findNext.go b/findNext.go index d8051bb..f77c38f 100644 --- a/findNext.go +++ b/findNext.go @@ -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 {