Skip to content

Commit

Permalink
chore(deps): update dependency vscode-languageserver-protocol to v3.1…
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Walker-GM committed May 21, 2024
1 parent c663d99 commit 2fbac1a
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 202 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
},
"resolutions": {
"vscode-languageserver": "6.1.1",
"vscode-languageserver-protocol": "3.15.3",
"vscode-languageserver-protocol": "3.17.5",
"vscode-languageserver-textdocument": "1.0.11",
"vscode-languageserver-types": "3.17.5"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/structure/src/x/vscode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -276,15 +276,15 @@ export function RemoteTreeDataProvider_publishOverLSPConnection(
connection.sendRequest(`${methodPrefix}onDidChangeTreeData`, [id])
)
})
connection.onRequest(`${methodPrefix}getChildren`, async (id) => {
connection.onRequest(`${methodPrefix}getChildren`, async (id: string) => {
lazyInit()
try {
return await ProviderResult_normalize(tdp.getChildren(id))
} catch (e) {
return []
}
})
connection.onRequest(`${methodPrefix}getTreeItem`, async (id) => {
connection.onRequest(`${methodPrefix}getTreeItem`, async (id: string) => {
lazyInit()
try {
return await ProviderResult_normalize(tdp.getTreeItem(id))
Expand Down
Loading

0 comments on commit 2fbac1a

Please sign in to comment.