We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1530055 commit 1dc17cbCopy full SHA for 1dc17cb
init_proj/init_proj.go
@@ -65,8 +65,6 @@ func createGoMod(dir string, url string) error {
65
fmt.Printf("go mod init %s\n", modName)
66
goModCmd := exec.Command("go", "mod", "init", modName)
67
goModCmd.Dir = dir
68
- goModCmd.Stdout = nil
69
- goModCmd.Stderr = os.Stderr
70
// go mod init outputs info messages on stderr; suppress those but print
71
// if the command fails
72
if output, err := goModCmd.CombinedOutput(); err != nil {
0 commit comments