keep mdc extension for cursor

This commit is contained in:
Joe Danziger
2025-05-09 07:44:47 -04:00
parent 6f3b216be2
commit 8acdc014ea
2 changed files with 45 additions and 46 deletions

View File

@@ -202,7 +202,7 @@ function convertAllCursorRulesToBrandRules(projectDir, profile) {
const sourcePath = path.join(cursorRulesDir, file);
// Determine target file name (either from mapping or by replacing extension)
const targetFilename = fileMap[file] || file.replace('.mdc', '.md');
const targetFilename = fileMap[file] || file;
const targetPath = path.join(brandRulesDir, targetFilename);
// Convert the file