diff options
| author | Dax Raad <[email protected]> | 2025-08-12 18:43:24 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-08-12 18:43:24 -0400 |
| commit | aa5e39e744ecb736be91dee31b7be010759ac7e6 (patch) | |
| tree | 32daf7aec366d76b13d05982bfdde9d61e8a8dc9 | |
| parent | 296cc41a074d660360867ddd66b4b6f26d1e7cc9 (diff) | |
| download | opencode-aa5e39e744ecb736be91dee31b7be010759ac7e6.tar.gz opencode-aa5e39e744ecb736be91dee31b7be010759ac7e6.zip | |
fix unzip not found printing to tui
| -rw-r--r-- | packages/opencode/src/lsp/server.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/opencode/src/lsp/server.ts b/packages/opencode/src/lsp/server.ts index 6cfba6d9d..0a3954cf1 100644 --- a/packages/opencode/src/lsp/server.ts +++ b/packages/opencode/src/lsp/server.ts @@ -94,7 +94,7 @@ export namespace LSPServer { const zipPath = path.join(Global.Path.bin, "vscode-eslint.zip") await Bun.file(zipPath).write(response) - await $`unzip -o -q ${zipPath}`.cwd(Global.Path.bin).nothrow() + await $`unzip -o -q ${zipPath}`.quiet().cwd(Global.Path.bin).nothrow() await fs.rm(zipPath, { force: true }) const extractedPath = path.join(Global.Path.bin, "vscode-eslint-main") @@ -269,7 +269,7 @@ export namespace LSPServer { const zipPath = path.join(Global.Path.bin, "elixir-ls.zip") await Bun.file(zipPath).write(response) - await $`unzip -o -q ${zipPath}`.cwd(Global.Path.bin).nothrow() + await $`unzip -o -q ${zipPath}`.quiet().cwd(Global.Path.bin).nothrow() await fs.rm(zipPath, { force: true, @@ -371,7 +371,7 @@ export namespace LSPServer { await Bun.file(tempPath).write(downloadResponse) if (ext === "zip") { - await $`unzip -o -q ${tempPath}`.cwd(Global.Path.bin).nothrow() + await $`unzip -o -q ${tempPath}`.quiet().cwd(Global.Path.bin).nothrow() } else { await $`tar -xf ${tempPath}`.cwd(Global.Path.bin).nothrow() } @@ -490,7 +490,7 @@ export namespace LSPServer { const zipPath = path.join(Global.Path.bin, "clangd.zip") await Bun.file(zipPath).write(downloadResponse) - await $`unzip -o -q ${zipPath}`.cwd(Global.Path.bin).nothrow() + await $`unzip -o -q ${zipPath}`.quiet().cwd(Global.Path.bin).nothrow() await fs.rm(zipPath, { force: true }) const extractedDir = path.join(Global.Path.bin, assetName.replace(".zip", "")) |
