Skip to content

Commit caeda37

Browse files
mbensonMatt Benson
andauthored
fix: emit full JSON string from CLI when no output filename specified (#710)
Co-authored-by: Matt Benson <matthew.benson@amfam.com>
1 parent eadeb7e commit caeda37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli/cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ if (process.argv[2] === '--help' || process.argv[2] === '-h') {
5757
if (outputFileName) {
5858
writeToFile(outputFileName, output);
5959
} else {
60-
console.log(output);
60+
console.log(JSON.stringify(output, null, 2));
6161
}
6262
};
6363

0 commit comments

Comments
 (0)