feat(ui): replace emoji complexity indicators with clean filled circle characters

Replace 🟢, 🟡, 🔴 emojis with ● character in getComplexityWithColor function

Update corresponding unit tests to expect ● instead of emojis

Improves UI continuity
This commit is contained in:
Eyal Toledano
2025-06-07 12:57:45 -04:00
parent 2434b97247
commit 7db7cf3859
4 changed files with 201 additions and 201 deletions

View File

@@ -750,9 +750,9 @@ function displayHelp() {
* @returns {string} Colored complexity score
*/
function getComplexityWithColor(score) {
if (score <= 3) return chalk.green(`🟢 ${score}`);
if (score <= 6) return chalk.yellow(`🟡 ${score}`);
return chalk.red(`🔴 ${score}`);
if (score <= 3) return chalk.green(` ${score}`);
if (score <= 6) return chalk.yellow(` ${score}`);
return chalk.red(` ${score}`);
}
/**