Skip to content

Commit 6d4d3bf

Browse files
committed
src/goInstallTools: use go install -v instead of go install -x
`go install -x` is very chatty. Node.js child process got choked with ERR_CHILD_PROCESS_STDIO_MAXBUFFER. Change-Id: I70e24348b2db40bdfc99b7328d90e2b24ee7f902 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/357612 Trust: Hyang-Ah Hana Kim <[email protected]> Run-TryBot: Hyang-Ah Hana Kim <[email protected]> Reviewed-by: Suzy Mueller <[email protected]>
1 parent dbf1440 commit 6d4d3bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/goInstallTools.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,8 @@ async function installToolWithGoInstall(goVersion: GoVersion, env: NodeJS.Dict<s
257257
};
258258

259259
const execFile = util.promisify(cp.execFile);
260-
logVerbose(`$ ${goBinary} install -x ${importPath}} (cwd: ${opts.cwd})`);
261-
await execFile(goBinary, ['install', '-x', importPath], opts);
260+
logVerbose(`$ ${goBinary} install -v ${importPath}} (cwd: ${opts.cwd})`);
261+
await execFile(goBinary, ['install', '-v', importPath], opts);
262262
}
263263

264264
async function installToolWithGoGet(

0 commit comments

Comments
 (0)