fix bunfile bug

This commit is contained in:
Dax Raad
2025-06-10 18:23:19 -04:00
parent 49110f7412
commit ca3c22dc12
6 changed files with 18 additions and 16 deletions

View File

@@ -38,9 +38,9 @@ export namespace LSPServer {
).catch(() => {})
if (!tsserver) return
const root =
process.argv0 !== "bun"
process.argv0 !== "bun" && false
? path.resolve(process.cwd(), process.argv0)
: process.argv0
: "bun"
const proc = spawn(
root,
["x", "typescript-language-server", "--stdio"],