Skip to content

Commit

Permalink
use MessageProcessor._parser
Browse files Browse the repository at this point in the history
  • Loading branch information
motemen committed Feb 5, 2025
1 parent af052d7 commit faaa01d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1241,7 +1241,7 @@ export class MessageProcessor {

const fileContent = await readFile(filePath, 'utf-8');
// I would use the already existing graphql-config AST, but there are a few reasons we can't yet
const contents = await parseDocument(fileContent, uri);
const contents = await this._parser(fileContent, uri);
if (!contents[0]?.query) {
return;
}
Expand Down

0 comments on commit faaa01d

Please sign in to comment.