Skip to content

Commit d4f1970

Browse files
committed
Fixed format subcommand
1 parent 439777a commit d4f1970

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crossplane/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def format(filename, out, indent=None, tabs=False):
127127
payload = parse_file(filename)
128128
parsed = payload['config'][0]['parsed']
129129
if payload['status'] == 'ok':
130-
output = build_file(parsed, indent, tabs) + '\n'
130+
output = build_string(parsed, indent=indent, tabs=tabs) + '\n'
131131
out.write(output)
132132
else:
133133
e = payload['errors'][0]

0 commit comments

Comments
 (0)