From 4aa64bb7129955a27ed52641e38e5f54aaea9c53 Mon Sep 17 00:00:00 2001 From: MO <9125255+fengzilong@users.noreply.github.com> Date: Tue, 2 Nov 2021 23:18:34 +0800 Subject: [PATCH] feat: support async formatter closes #15242 --- lib/cli.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cli.js b/lib/cli.js index 477310da585..f09d143d255 100644 --- a/lib/cli.js +++ b/lib/cli.js @@ -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) {