use go-mod-clean --strict here
This commit is contained in:
parent
e214aff7db
commit
47085c837e
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue