From 2b30e9e3ec072e5de00dccc0513294260bc90ccc Mon Sep 17 00:00:00 2001 From: Carlos Lopez Jr Date: Tue, 30 May 2023 12:12:36 -0400 Subject: [PATCH] fix(cli): fix output of unsupported features `feature.missing` is already a string and no need to call `.join(', '). `BrowserSelection.lackingBrowers` already joins strings. --- bin/cli.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/cli.js b/bin/cli.js index a306800..6b57313 100755 --- a/bin/cli.js +++ b/bin/cli.js @@ -108,7 +108,7 @@ if (argv.verbose >= 2) { for (const feature of Object.values(features)) { const out = [feature.caniuseData.title]; if (argv.verbose >= 3) { - out.push('\n', feature.missing.join(', '), '\n'); + out.push('\n', feature.missing, '\n'); } console.log(out.join('')); }