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:
@@ -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}`);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user