Compare commits

...

1 Commits

Author SHA1 Message Date
Ralph Khreish
8a0a7b1878 fix: addTask mcp tool 2025-03-29 17:15:30 +01:00
2 changed files with 7 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
---
"task-master-ai": patch
---
Fix addTask tool `projectRoot not defined`

View File

@@ -45,6 +45,8 @@ export function registerAddTaskTool(server) {
if (args.priority) cmdArgs.push(`--priority=${args.priority}`); if (args.priority) cmdArgs.push(`--priority=${args.priority}`);
if (args.file) cmdArgs.push(`--file=${args.file}`); if (args.file) cmdArgs.push(`--file=${args.file}`);
const projectRoot = args.projectRoot;
const result = executeTaskMasterCommand( const result = executeTaskMasterCommand(
"add-task", "add-task",
log, log,