fix MCP - remove yes flag
This commit is contained in:
@@ -39,9 +39,7 @@ export async function rulesDirect(args, log, context = {}) {
|
||||
};
|
||||
}
|
||||
const rulesList = rules.join(',');
|
||||
const yesFlag = yes !== false ? '--yes' : '';
|
||||
const cmd =
|
||||
`npx task-master rules ${action} ${rulesList} ${yesFlag}`.trim();
|
||||
const cmd = `npx task-master rules ${action} ${rulesList}`.trim();
|
||||
log.info(`[rulesDirect] Running: ${cmd} in ${projectRoot}`);
|
||||
const output = execSync(cmd, { cwd: projectRoot, encoding: 'utf8' });
|
||||
log.info(`[rulesDirect] Output: ${output}`);
|
||||
|
||||
Reference in New Issue
Block a user