Skip to content

Commit 45b41bb

Browse files
committed
Go: Mirror stdout/stderr output in InstallVersion
1 parent 6b1d1d4 commit 45b41bb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

go/extractor/toolchain/toolchain.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ func InstallVersion(workingDir string, version string) bool {
6767
versionCmd := Version()
6868
versionCmd.Dir = workingDir
6969
versionCmd.Env = append(os.Environ(), toolchainArg)
70+
versionCmd.Stdout = os.Stdout
71+
versionCmd.Stderr = os.Stderr
7072

7173
log.Printf(
7274
"Trying to install Go %s using its canonical representation in `%s`.",

0 commit comments

Comments
 (0)