alter log
This commit is contained in:
parent
5890daa417
commit
accc02a02d
@ -103,8 +103,8 @@ func (b *Build) mvProjectsToTmp() error {
|
||||
if err != nil {
|
||||
return fmt.Errorf("fail to generate new go.mod: %v", err)
|
||||
}
|
||||
log.Infof("go.mod needs rewrite? %v", updated)
|
||||
if updated {
|
||||
log.Infoln("go.mod needs rewrite")
|
||||
tmpModFile := filepath.Join(b.TmpDir, "go.mod")
|
||||
err := ioutil.WriteFile(tmpModFile, newGoModContent, os.ModePerm)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user