Skip to content

Commit 4f02e9e

Browse files
committed
output correctly formatted json
1 parent 1a7a979 commit 4f02e9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ text(process.stdin).then((stdIn) => {
2121
output = filter(output, new RegExp(options.exclude));
2222
}
2323

24-
console.log(output);
24+
process.stdout.write(JSON.stringify(output));
2525
});

0 commit comments

Comments
 (0)