fix: lsp debug cmd log

This commit is contained in:
rekram1-node 2025-08-29 11:10:30 -05:00
parent 4496cd4b64
commit 6fb0ba1115

View file

@ -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))
})
},
})