From 753ff5f0ac1dd9a5b94fa75db54efb576564e698 Mon Sep 17 00:00:00 2001 From: Tim Griesser Date: Thu, 8 Jun 2017 12:49:24 -0400 Subject: [PATCH] Fix lint errors (#2062) --- src/printer-graphql.js | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/printer-graphql.js b/src/printer-graphql.js index e72b032d8..b5c2914de 100644 --- a/src/printer-graphql.js +++ b/src/printer-graphql.js @@ -244,18 +244,11 @@ function genericPrint(path, options, print) { } case "NonNullType": { - return concat([ - path.call(print, "type"), - "!" - ]); + return concat([path.call(print, "type"), "!"]); } case "ListType": { - return concat([ - "[", - path.call(print, "type"), - "]" - ]) + return concat(["[", path.call(print, "type"), "]"]); } default: