Skip to content

Commit

Permalink
fix(json): json format in cli
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter committed Oct 7, 2021
1 parent 86ec677 commit 42cac11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/criteriacli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ const fileContent = fs.readFileSync(options.path).toString('utf8');
const fileContentJson = JSON.parse(fileContent);

const criteriaResult = new CriterionFabric(fileContentJson).run();
console.log(criteriaResult);
console.log(JSON.stringify(criteriaResult));

0 comments on commit 42cac11

Please sign in to comment.