summaryrefslogtreecommitdiff
path: root/doSmart.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-07 11:21:36 -0600
committerJeff Carr <[email protected]>2025-02-07 11:21:36 -0600
commit4bbf8c76bc83cc6ed942be1f13a944e40a4924df (patch)
tree90b95bf0a8d2dd7471e61175fe6734a9cd6e450f /doSmart.go
parent7265c0d6a1bdd62142ac6f75a6a348587260f8ec (diff)
Diffstat (limited to 'doSmart.go')
-rw-r--r--doSmart.go8
1 files changed, 5 insertions, 3 deletions
diff --git a/doSmart.go b/doSmart.go
index f6dec96..599704e 100644
--- a/doSmart.go
+++ b/doSmart.go
@@ -38,9 +38,11 @@ func doSmart(repo *gitpb.Repo) error {
return err
}
log.Info(repo.GetGoPath(), "the files were restored with redoGoMod()")
- if repo.Exists("go.mod") {
- return nil
- }
+ /*
+ if repo.Exists("go.mod") {
+ return nil
+ }
+ */
// the first time, it'll attempt to fix some stuff
if err := cleanGoDepsCheckOk(repo); err != nil {