Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support async formatter #15243

Merged
merged 12 commits into from Nov 24, 2021
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