Skip to content

Commit

Permalink
code style improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
skevy committed Oct 16, 2015
1 parent d5f2768 commit a0c30d3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/utilities/buildASTSchema.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,7 @@ export function buildASTSchema(
schemaBody.subscription = produceTypeDef(astMap[subscriptionTypeName]);
}

var schema = new GraphQLSchema(schemaBody);
return schema;
return new GraphQLSchema(schemaBody);

function makeSchemaDef(def) {
if (isNullish(def)) {
Expand Down

0 comments on commit a0c30d3

Please sign in to comment.