We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0bd291 commit 979c9eaCopy full SHA for 979c9ea
packages/opencode/src/lsp/server.ts
@@ -25,11 +25,11 @@ export namespace LSPServer {
25
const files = Filesystem.up({
26
targets: patterns,
27
start: path.dirname(file),
28
- stop: Instance.worktree,
+ stop: Instance.directory,
29
})
30
const first = await files.next()
31
await files.return()
32
- if (!first.value) return Instance.worktree
+ if (!first.value) return Instance.directory
33
return path.dirname(first.value)
34
}
35
0 commit comments