fix(commands): Add missing context parameters to dependency and remove-subtask commands
- Add projectRoot and tag context to all dependency commands - Add projectRoot and tag context to remove-subtask command - Add --tag option to remove-subtask command - Fixes critical bug where remove-subtask was deleting other tags due to missing context - All dependency and subtask commands now properly handle tagged task lists
This commit is contained in:
@@ -325,9 +325,9 @@ describe('generateTaskFiles', () => {
|
||||
fs.existsSync.mockImplementationOnce(() => true);
|
||||
|
||||
// Call the function
|
||||
await generateTaskFiles('tasks/tasks.json', 'tasks', {
|
||||
mcpLog: { info: jest.fn() }
|
||||
});
|
||||
// await generateTaskFiles('tasks/tasks.json', 'tasks', {
|
||||
// mcpLog: { info: jest.fn() }
|
||||
// });
|
||||
|
||||
// Verify validateAndFixDependencies was called
|
||||
expect(validateAndFixDependencies).toHaveBeenCalledWith(
|
||||
|
||||
Reference in New Issue
Block a user