Skip to content

Commit

Permalink
Fix: remove use of let
Browse files Browse the repository at this point in the history
  • Loading branch information
marcvberg committed May 27, 2022
1 parent 201eacc commit 6ed42b9
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,7 @@ export class GraphQLTransform {
* @param schema A parsed GraphQL DocumentNode
*/
public preProcessSchema(schema: DocumentNode): DocumentNode {
let processedSchema = schema;
let context = new TransformerPreProcessContext(schema, this?.options?.featureFlags);
const context = new TransformerPreProcessContext(schema, this?.options?.featureFlags);

this.transformers
.filter(transformer => isFunction(transformer.preMutateSchema))
Expand Down

0 comments on commit 6ed42b9

Please sign in to comment.