Skip to content

Commit

Permalink
nicer code
Browse files Browse the repository at this point in the history
  • Loading branch information
ekampf committed Feb 25, 2019
1 parent 1049a4e commit f8645ba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gql/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,10 @@ def init(schema, endpoint, root, config_filename):
if endpoint == 'same as schema':
endpoint = schema

documents = join_paths(root, '**/*.graphql')
config = Config(
schema=schema,
endpoint=endpoint,
documents=documents
documents=join_paths(root, '**/*.graphql')
)

config.save(config_filename)
Expand Down

0 comments on commit f8645ba

Please sign in to comment.