From 3628acab78d56cfa9bb4ccf98378775ca1a6e2be Mon Sep 17 00:00:00 2001 From: Shrey Paharia Date: Wed, 23 Apr 2025 20:51:53 +0530 Subject: [PATCH] fix: add complexity handling to next task in list command --- scripts/modules/task-manager.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/modules/task-manager.js b/scripts/modules/task-manager.js index 703f461e..0141eb3d 100644 --- a/scripts/modules/task-manager.js +++ b/scripts/modules/task-manager.js @@ -2393,7 +2393,8 @@ function listTasks( ) + '\n\n' + `${chalk.white('Priority:')} ${priorityColors[nextTask.priority || 'medium'](nextTask.priority || 'medium')} ${chalk.white('Status:')} ${getStatusWithColor(nextTask.status, true)}\n` + - `${chalk.white('Dependencies:')} ${nextTask.dependencies && nextTask.dependencies.length > 0 ? formatDependenciesWithStatus(nextTask.dependencies, data.tasks, true) : chalk.gray('None')}\n\n` + + `${chalk.white('Dependencies:')} ${nextTask.dependencies && nextTask.dependencies.length > 0 ? formatDependenciesWithStatus(nextTask.dependencies, data.tasks, true) : chalk.gray('None')}\n` + + `${chalk.white('Complexity:')} ${nextTask.complexityScore ? getComplexityWithColor(nextTask.complexityScore) : chalk.gray('N/A')}\n` + `${chalk.white('Description:')} ${nextTask.description}` + subtasksSection + '\n\n' +