Skip to content

Commit 76c0d91

Browse files
committed
fix: unused declarations
1 parent 278c6ed commit 76c0d91

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

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

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1061,7 +1061,7 @@ export class MessageProcessor {
10611061
}
10621062

10631063
private async _cacheSchemaFilesForProject(project: GraphQLProjectConfig) {
1064-
const config = project?.extensions?.languageService;
1064+
// const config = project?.extensions?.languageService;
10651065
/**
10661066
* By default, we look for schema definitions in SDL files
10671067
*
@@ -1082,16 +1082,16 @@ export class MessageProcessor {
10821082
// only local schema lookups if all of the schema entries are local files
10831083
const sdlOnly = isProjectSDLOnly(unwrappedSchema);
10841084

1085-
const uri = this._getTmpProjectPath(
1086-
project,
1087-
true,
1088-
'generated-schema.graphql',
1089-
);
1090-
const fsPath = this._getTmpProjectPath(
1091-
project,
1092-
false,
1093-
'generated-schema.graphql',
1094-
);
1085+
// const uri = this._getTmpProjectPath(
1086+
// project,
1087+
// true,
1088+
// 'generated-schema.graphql',
1089+
// );
1090+
// const fsPath = this._getTmpProjectPath(
1091+
// project,
1092+
// false,
1093+
// 'generated-schema.graphql',
1094+
// );
10951095
// invalidate the cache for the generated schema file
10961096
// whether or not the user will continue using this feature
10971097
// because sdlOnly needs this file to be removed as well if the user is switching schemas
@@ -1163,7 +1163,6 @@ export class MessageProcessor {
11631163
}
11641164
}
11651165
} catch (err) {
1166-
console.log(err);
11671166
this._logger.error(String(err));
11681167
}
11691168
}

0 commit comments

Comments
 (0)