Skip to content

Commit

Permalink
revert "lint.js chalk tagged template literal change"
Browse files Browse the repository at this point in the history
  This snuck in from mdn#4265.
  • Loading branch information
ExE-Boss committed Jun 10, 2019
1 parent e9de643 commit 66aab17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/lint.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ const hasErrors = argv.files

if (hasErrors) {
console.warn('');
console.warn(chalk`{red Problems in {bold ${filesWithErrors.size}} ${filesWithErrors.size === 1 ? 'file' : 'files'}:}`,
console.warn(chalk`{red Problems in }{red.bold ${filesWithErrors.size}}{red ${filesWithErrors.size === 1 ? 'file' : 'files'}:}`,
);
for (const [fileName, file] of filesWithErrors) {
console.warn(chalk`{red.bold ✖ ${fileName}}`);
Expand Down

0 comments on commit 66aab17

Please sign in to comment.