mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-22 18:24:21 +01:00
fix: connection closed
This commit is contained in:
@@ -1 +0,0 @@
|
|||||||
../../CLAUDE.md
|
|
||||||
@@ -166,6 +166,8 @@ export namespace LSP {
|
|||||||
const wait = waitForDiagnostics ? client.waitForDiagnostics({ path: input }) : Promise.resolve()
|
const wait = waitForDiagnostics ? client.waitForDiagnostics({ path: input }) : Promise.resolve()
|
||||||
await client.notify.open({ path: input })
|
await client.notify.open({ path: input })
|
||||||
return wait
|
return wait
|
||||||
|
}).catch((err) => {
|
||||||
|
log.error("failed to touch file", { err, file: input })
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user