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 077351f commit 3d63f5cCopy full SHA for 3d63f5c
lib/adapters/show-document-adapter.ts
@@ -41,7 +41,7 @@ export async function showDocument(params: ShowDocumentParams): Promise<ShowDocu
41
initialLine: params.selection?.start.line ?? 0,
42
initialColumn: params.selection?.start.character ?? 0,
43
})
44
- if (view === undefined) {
+ if (!view) {
45
return { success: false }
46
}
47
if (view instanceof TextEditor && params.selection !== undefined) {
0 commit comments