fix for CLI roo rules add/remove

This commit is contained in:
Joe Danziger
2025-06-04 18:50:59 -04:00
parent 8250b5cad3
commit 30e14eedc0

View File

@@ -2879,7 +2879,8 @@ Examples:
profileConfig
);
if (typeof profileConfig.onAddRulesProfile === 'function') {
profileConfig.onAddRulesProfile(projectDir);
const assetsDir = path.join(process.cwd(), 'assets');
profileConfig.onAddRulesProfile(projectDir, assetsDir);
}
console.log(
chalk.blue(`Completed adding rules for profile: ${profile}`)