mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
fix: connection closed
This commit is contained in:
parent
7ec5e49e19
commit
149cb6a9ec
2 changed files with 2 additions and 1 deletions
|
|
@ -1 +0,0 @@
|
|||
../../CLAUDE.md
|
||||
|
|
@ -166,6 +166,8 @@ export namespace LSP {
|
|||
const wait = waitForDiagnostics ? client.waitForDiagnostics({ path: input }) : Promise.resolve()
|
||||
await client.notify.open({ path: input })
|
||||
return wait
|
||||
}).catch((err) => {
|
||||
log.error("failed to touch file", { err, file: input })
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue