clearer debugging

This commit is contained in:
Jeff Carr 2024-11-07 07:04:39 -06:00
parent 5be028858c
commit 29545d3f04
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ func (rs *RepoStatus) MakeRedomod() (bool, error) {
os.Unsetenv("GO111MODULE")
err, output = rs.RunCmd([]string{"rm", "-f", "go.mod", "go.sum"})
if err != nil {
log.Log(REPO, "rm failed", err, output)
log.Log(REPO, "rm go.mod go.sum failed", err, output)
return false, err
}
err, output = rs.RunCmd([]string{"go", "mod", "init", rs.GoPath()})