Skip to content

Commit d9fe342

Browse files
authored
Merge pull request #2 from stellarpower/patch-1
Update CLI to output JSON
2 parents ec7d4b8 + 48fdf25 commit d9fe342

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ if (tooManyArguments)
1313

1414
languageEncoding(path)
1515
.then((fileInfo) => {
16-
console.log(fileInfo);
16+
console.log(JSON.stringify(fileInfo, null, 4));
1717
})
1818
.catch((error) => {
1919
console.log(error);

0 commit comments

Comments
 (0)