fix(lsp): restore Instance.containsPath guard in getClients

This commit is contained in:
Kit Langton
2026-03-25 12:36:29 -04:00
parent 0c510b0e61
commit a265da7a8d
+1
View File
@@ -223,6 +223,7 @@ export namespace LSP {
)
const getClients = Effect.fnUntraced(function* (file: string) {
if (!Instance.containsPath(file)) return [] as LSPClient.Info[]
const s = yield* InstanceState.get(cache)
return yield* Effect.promise(async () => {
const extension = path.parse(file).ext || file