Skip to content

Commit a0c30d3

Browse files
committed
code style improvements
1 parent d5f2768 commit a0c30d3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/utilities/buildASTSchema.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,7 @@ export function buildASTSchema(
181181
schemaBody.subscription = produceTypeDef(astMap[subscriptionTypeName]);
182182
}
183183

184-
var schema = new GraphQLSchema(schemaBody);
185-
return schema;
184+
return new GraphQLSchema(schemaBody);
186185

187186
function makeSchemaDef(def) {
188187
if (isNullish(def)) {

0 commit comments

Comments
 (0)