diff options
| author | Jeff Carr <[email protected]> | 2024-12-15 21:10:25 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-15 21:10:25 -0600 |
| commit | 232477808f270c3940bf244dcca1ca9f54c5b6bc (patch) | |
| tree | 0d9666678337fb2c9f39e7f2a327d57bb6c9d682 | |
| parent | 41671d129886258aeed0ed65287e15ad980accd7 (diff) | |
| -rw-r--r-- | clone.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -123,6 +123,9 @@ func makeValidGoSum(check *gitpb.Repo) error { log.Info(check.GoPath, "is a golang primitive! no need to parse go.sum because there is not one!") return nil } + // attempt to grab the notes + check.Run([]string{"git", "fetch", "origin", "refs/notes/*:refs/notes/*"}) + // first try to generate go.mod & go.sum with go-mod-clean if err := check.ValidGoSum(); err != nil { log.Info("try running go-mod-clean") |
