From 5cf77e0513a65459deaa95e8dcf9ea15e582e2d0 Mon Sep 17 00:00:00 2001 From: Dimitri POSTOLOV Date: Mon, 6 Mar 2023 12:29:56 +0100 Subject: [PATCH] remove unneeded check for `schema` (#3083) * remove unneeded check for `schema` * Delete sweet-dolphins-breathe.md --- packages/graphql-language-service-server/src/GraphQLCache.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/graphql-language-service-server/src/GraphQLCache.ts b/packages/graphql-language-service-server/src/GraphQLCache.ts index 93a0db3374c..4f6dc69082f 100644 --- a/packages/graphql-language-service-server/src/GraphQLCache.ts +++ b/packages/graphql-language-service-server/src/GraphQLCache.ts @@ -621,7 +621,7 @@ export class GraphQLCache implements GraphQLCacheInterface { let schemaCacheKey = null; let schema = null; - if (!schema && schemaPath && schemaKey) { + if (schemaPath && schemaKey) { schemaCacheKey = schemaKey as string; // Maybe use cache