summaryrefslogtreecommitdiff
path: root/redoGoMod.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-17 23:58:43 -0600
committerJeff Carr <[email protected]>2024-12-17 23:58:43 -0600
commit063e4e57c87c5e6c37709c9b327cf60ad80709d6 (patch)
treef09c2c7321bfc762d6162b673796e9d38cafe140 /redoGoMod.go
parentea14fc629d4f6261242f8e45489e40fc0d5330ae (diff)
show verbose output from go mod tidy for debuggingv0.0.17
Diffstat (limited to 'redoGoMod.go')
-rw-r--r--redoGoMod.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/redoGoMod.go b/redoGoMod.go
index 956b920..cbd6d05 100644
--- a/redoGoMod.go
+++ b/redoGoMod.go
@@ -41,7 +41,7 @@ func redoGoMod(repo *gitpb.Repo) error {
log.Warn("go mod init failed", err)
return err
}
- if err := repo.StrictRun([]string{"go", "mod", "tidy", "-go=1.21"}); err != nil {
+ if err := runVerbose(repo.FullPath, []string{"go", "mod", "tidy", "-go=1.21"}); err != nil {
log.Warn("go mod tidy failed", err)
return err
}