Skip to content

Commit d9851db

Browse files
authored
Fix error encountered running in helix
1 parent 8f25b38 commit d9851db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/graphql-language-service-server/src/MessageProcessor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ export class MessageProcessor {
213213
// TODO: eventually we will instantiate an instance of this per workspace,
214214
// so rootDir should become that workspace's rootDir
215215
this._settings = { ...settings, ...vscodeSettings };
216-
const rootDir = this._settings?.load?.rootDir.length
216+
const rootDir = this._settings?.load?.rootDir?.length
217217
? this._settings?.load?.rootDir
218218
: this._rootPath;
219219
if (settings?.dotEnvPath) {

0 commit comments

Comments
 (0)