Skip to content

Commit

Permalink
fix(cli): fix output of unsupported features
Browse files Browse the repository at this point in the history
`feature.missing` is already a string and no need to call `.join(', ').
`BrowserSelection.lackingBrowers` already joins strings.
  • Loading branch information
clshortfuse committed May 30, 2023
1 parent cdd92a6 commit 2b30e9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(''));
}
Expand Down

0 comments on commit 2b30e9e

Please sign in to comment.