Aiden Cline 5 месяцев назад
Родитель
Сommit
12eb1391b9
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/opencode/src/cli/cmd/debug/lsp.ts

+ 1 - 1
packages/opencode/src/cli/cmd/debug/lsp.ts

@@ -16,7 +16,7 @@ const DiagnosticsCommand = cmd({
   async handler(args) {
   async handler(args) {
     await bootstrap({ cwd: process.cwd() }, async () => {
     await bootstrap({ cwd: process.cwd() }, async () => {
       await LSP.touchFile(args.file, true)
       await LSP.touchFile(args.file, true)
-      console.log(await LSP.diagnostics())
+      console.log(JSON.stringify(await LSP.diagnostics(), null, 2))
     })
     })
   },
   },
 })
 })