Skip to content

Commit

Permalink
chore: fix ambiguous expressions (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericcornelissen authored Jan 15, 2022
1 parent a8a1b78 commit 3ce14a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/components/summary.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default class Summary {
successes ? MSG_META.success.color.bold(`${MSG_META.success.symbol} ${successes} valid files.`) : null,
warns ? MSG_META.warn.color.bold(`${MSG_META.warn.symbol} ${warns} files with warnings.`) : null,
errors ? MSG_META.error.color.bold(`${MSG_META.error.symbol} ${errors} invalid files.`) : null,
(active + successes + warns + errors) ? null : chalk.gray.dim("- No files linted"),
(active + successes + warns + errors === 0) ? chalk.gray.dim("- No files linted") : null,
].filter(v => v).join("\n");
}
}

0 comments on commit 3ce14a6

Please sign in to comment.