graphql-cli / graphql-cli-prepare

Plugin for graphql-cli to bundle schemas and generate bindings
MIT License
33 stars 3 forks source link

Fix "similar-code" issue in src/index.ts #4

Closed kbrandwijk closed 6 years ago

kbrandwijk commented 6 years ago

Similar blocks of code found in 2 locations. Consider refactoring.

https://codeclimate.com/github/supergraphql/graphql-cli-prepare/src/index.ts#issue_5a45bf08a6edc0000100001d