always redo go.mod

This commit is contained in:
Jeff Carr 2024-12-01 22:21:56 -06:00
parent 007e0e81e3
commit 02f7ee387f
1 changed files with 1 additions and 0 deletions

View File

@ -79,6 +79,7 @@ func goodGodeps(repo *repolist.RepoRow) bool {
log.Info("boo, you didn't git clone", repo.GoPath())
os.Exit(-1)
}
check.RedoGoMod()
log.Printf("current repo %s go dependancy count: %d", check.GetGoPath(), check.GoDepsLen())
deps := check.GoDeps.SortByGoPath()
for deps.Scan() {