Skip to content

Commit

Permalink
feat: support async formatter
Browse files Browse the repository at this point in the history
closes #15242
  • Loading branch information
fengzilong committed Nov 2, 2021
1 parent 3630211 commit 4aa64bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cli.js
Expand Up @@ -178,7 +178,7 @@ async function printResults(engine, results, format, outputFile) {
return false;
}

const output = formatter.format(results);
const output = await formatter.format(results);

if (output) {
if (outputFile) {
Expand Down

0 comments on commit 4aa64bb

Please sign in to comment.