fix: issues with release (#915)

Fix remove-task bug with mcp
Fix response-language using old config file .taskmaster
This commit is contained in:
Ralph Khreish
2025-07-03 14:22:58 +03:00
committed by GitHub
parent f7fbdd6755
commit 7fea9968ef
2 changed files with 18 additions and 25 deletions

View File

@@ -101,8 +101,7 @@ export async function removeTaskDirect(args, log, context = {}) {
success: false,
error: {
code: 'REMOVE_TASK_ERROR',
message: result.errors.join('; ') || 'Failed to remove tasks',
details: result.errors
message: result.error || 'Failed to remove tasks'
}
};
}
@@ -114,10 +113,9 @@ export async function removeTaskDirect(args, log, context = {}) {
data: {
totalTasks: taskIdArray.length,
successful: result.removedTasks.length,
failed: result.errors.length,
failed: taskIdArray.length - result.removedTasks.length,
removedTasks: result.removedTasks,
messages: result.messages,
errors: result.errors,
message: result.message,
tasksPath: tasksJsonPath,
tag: data.tag || tag || 'master'
}