clearer debugging
This commit is contained in:
parent
5be028858c
commit
29545d3f04
|
@ -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()})
|
||||
|
|
Loading…
Reference in New Issue