Update src/everything/everything.ts
Co-authored-by: Cliff Hall <cliff@futurescale.com>
This commit is contained in:
parent
2b8ba4ac9f
commit
d321841519
1 changed files with 1 additions and 1 deletions
|
|
@ -967,7 +967,7 @@ export const createServer = () => {
|
||||||
|
|
||||||
// Handle post-initialization setup for roots
|
// Handle post-initialization setup for roots
|
||||||
server.oninitialized = async () => {
|
server.oninitialized = async () => {
|
||||||
const clientCapabilities = server.getClientCapabilities();
|
clientCapabilities = server.getClientCapabilities();
|
||||||
|
|
||||||
if (clientCapabilities?.roots) {
|
if (clientCapabilities?.roots) {
|
||||||
clientSupportsRoots = true;
|
clientSupportsRoots = true;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue