Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit 35f8ca1

Browse files
committed
missing newline on json output
1 parent f1f99bd commit 35f8ca1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cli4/cli4.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ def cli4(args):
371371
results = results[0]
372372

373373
if output == 'json':
374-
sys.stdout.write(json.dumps(results, indent=4, sort_keys=True))
374+
sys.stdout.write(json.dumps(results, indent=4, sort_keys=True) + '\n')
375375
if output == 'yaml':
376376
sys.stdout.write(yaml.safe_dump(results))
377377

0 commit comments

Comments
 (0)