GitHub Action 1 месяц назад
Родитель
Сommit
a35c278424
1 измененных файлов с 5 добавлено и 1 удалено
  1. 5 1
      packages/opencode/src/lsp/server.ts

+ 5 - 1
packages/opencode/src/lsp/server.ts

@@ -13,7 +13,11 @@ import { Archive } from "../util/archive"
 
 export namespace LSPServer {
   const log = Log.create({ service: "lsp.server" })
-  const pathExists = async (p: string) => fs.stat(p).then(() => true).catch(() => false)
+  const pathExists = async (p: string) =>
+    fs
+      .stat(p)
+      .then(() => true)
+      .catch(() => false)
 
   export interface Handle {
     process: ChildProcessWithoutNullStreams