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 8f25b38 commit d9851dbCopy full SHA for d9851db
packages/graphql-language-service-server/src/MessageProcessor.ts
@@ -213,7 +213,7 @@ export class MessageProcessor {
213
// TODO: eventually we will instantiate an instance of this per workspace,
214
// so rootDir should become that workspace's rootDir
215
this._settings = { ...settings, ...vscodeSettings };
216
- const rootDir = this._settings?.load?.rootDir.length
+ const rootDir = this._settings?.load?.rootDir?.length
217
? this._settings?.load?.rootDir
218
: this._rootPath;
219
if (settings?.dotEnvPath) {
0 commit comments