fix for CLI roo rules add/remove
This commit is contained in:
@@ -2879,7 +2879,8 @@ Examples:
|
|||||||
profileConfig
|
profileConfig
|
||||||
);
|
);
|
||||||
if (typeof profileConfig.onAddRulesProfile === 'function') {
|
if (typeof profileConfig.onAddRulesProfile === 'function') {
|
||||||
profileConfig.onAddRulesProfile(projectDir);
|
const assetsDir = path.join(process.cwd(), 'assets');
|
||||||
|
profileConfig.onAddRulesProfile(projectDir, assetsDir);
|
||||||
}
|
}
|
||||||
console.log(
|
console.log(
|
||||||
chalk.blue(`Completed adding rules for profile: ${profile}`)
|
chalk.blue(`Completed adding rules for profile: ${profile}`)
|
||||||
|
|||||||
Reference in New Issue
Block a user