@malamute/ai-rules 1.3.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/installer.js +3 -3
package/package.json
CHANGED
package/src/installer.js
CHANGED
|
@@ -237,15 +237,15 @@ export function init(techs, options) {
|
|
|
237
237
|
if (fs.existsSync(rulesDir)) {
|
|
238
238
|
const ops = copyDirRecursive(
|
|
239
239
|
rulesDir,
|
|
240
|
-
path.join(targetDir, '.claude', 'rules'),
|
|
240
|
+
path.join(targetDir, '.claude', 'rules', tech),
|
|
241
241
|
{ dryRun, backup, targetDir }
|
|
242
242
|
);
|
|
243
243
|
operations.push(...ops);
|
|
244
244
|
|
|
245
245
|
if (dryRun) {
|
|
246
|
-
log.dry(` rules/ (${ops.length} files)`);
|
|
246
|
+
log.dry(` rules/${tech}/ (${ops.length} files)`);
|
|
247
247
|
} else {
|
|
248
|
-
log.success(` rules/`);
|
|
248
|
+
log.success(` rules/${tech}/`);
|
|
249
249
|
}
|
|
250
250
|
}
|
|
251
251
|
|