Skip to content

Commit 4cafaaf

Browse files
committed
Removed logs
1 parent 3571f4f commit 4cafaaf

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

language/printer/printer.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import (
66

77
"github.com/graphql-go/graphql/language/ast"
88
"github.com/graphql-go/graphql/language/visitor"
9-
"github.com/kr/pretty"
109
"reflect"
1110
)
1211

@@ -435,7 +434,6 @@ var printDocASTReducer = map[string]visitor.VisitFunc{
435434

436435
// Type System Definitions
437436
"SchemaDefinition": func(p visitor.VisitFuncParams) (string, interface{}) {
438-
pretty.Println("===SchemaDefinitions", p.Node)
439437
switch node := p.Node.(type) {
440438
case *ast.SchemaDefinition:
441439
operationTypesBlock := block(node.OperationTypes)
@@ -450,7 +448,6 @@ var printDocASTReducer = map[string]visitor.VisitFunc{
450448
return visitor.ActionNoChange, nil
451449
},
452450
"OperationTypeDefinition": func(p visitor.VisitFuncParams) (string, interface{}) {
453-
pretty.Println("===OperationTypeDefinition", p.Node)
454451
switch node := p.Node.(type) {
455452
case *ast.OperationTypeDefinition:
456453
str := fmt.Sprintf("%v: %v", node.Operation, node.Type)

0 commit comments

Comments
 (0)