fix: lsp debug cmd log (#2310)

This commit is contained in:
Aiden Cline 2025-08-29 11:11:26 -05:00 committed by GitHub
parent 4496cd4b64
commit 12eb1391b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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