mirror of
https://github.com/sst/opencode.git
synced 2025-09-02 11:17:23 +00:00
fix gopls download spewing into terminal
This commit is contained in:
parent
88211d8c5b
commit
0515fbb260
1 changed files with 3 additions and 0 deletions
|
@ -70,6 +70,9 @@ export namespace LSPServer {
|
|||
const proc = Bun.spawn({
|
||||
cmd: ["go", "install", "golang.org/x/tools/gopls@latest"],
|
||||
env: { ...process.env, GOBIN: Global.Path.bin },
|
||||
stdout: "pipe",
|
||||
stderr: "pipe",
|
||||
stdin: "pipe",
|
||||
})
|
||||
const exit = await proc.exited
|
||||
if (exit !== 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue