graphql-cli / graphql-cli-prepare

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

Fix "method_complexity" issue in src/prepare.ts #7

Closed kbrandwijk closed 6 years ago

kbrandwijk commented 6 years ago

Function getProjectConfig has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.

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