The open source coding agent.
TypeScript
fix: lsp debug cmd log (#2310)
Aiden Cline12eb1391b985
diff --git a/packages/opencode/src/cli/cmd/debug/lsp.ts b/packages/opencode/src/cli/cmd/debug/lsp.tsindex ac1bac7c101..4d864db4a94 100644--- a/packages/opencode/src/cli/cmd/debug/lsp.ts+++ b/packages/opencode/src/cli/cmd/debug/lsp.ts@@ -16,7 +16,7 @@ const DiagnosticsCommand = cmd({async handler(args) {await bootstrap({ cwd: process.cwd() }, async () => {await LSP.touchFile(args.file, true)- console.log(await LSP.diagnostics())+ console.log(JSON.stringify(await LSP.diagnostics(), null, 2))})},})