summaryrefslogtreecommitdiff
path: root/redoGoMod.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-18 22:02:19 -0600
committerJeff Carr <[email protected]>2024-12-18 22:02:19 -0600
commitb91313e96c0faaa69e2b7712a31885cf8aa2e743 (patch)
treee3cac9a9d2bb5086827de435a972563d5df7a125 /redoGoMod.go
parentae64a4d1665578950709d44a778dcbf1382d6228 (diff)
oops. go mod tidy makes the go.sum filev0.0.27v0.0.26v0.0.25v0.0.24v0.0.23v0.0.22v0.0.21
Diffstat (limited to 'redoGoMod.go')
-rw-r--r--redoGoMod.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/redoGoMod.go b/redoGoMod.go
index ca9b536..2d58aa2 100644
--- a/redoGoMod.go
+++ b/redoGoMod.go
@@ -51,12 +51,6 @@ func redoGoMod(repo *gitpb.Repo) error {
return err
}
- // check to see if this is primitive
- repo.ParseGoSum()
- if repo.GetGoPrimitive() {
- return nil
- }
-
if result, err := goTidy(repo.FullPath); err != nil {
if tinyFixer(result) {
if _, err := goTidy(repo.FullPath); err != nil {
@@ -73,7 +67,6 @@ func redoGoMod(repo *gitpb.Repo) error {
// parse the go.mod and go.sum files
if repo.ParseGoSum() {
- // this is primitive
return nil
}