fix for filepath at bottom of rule

This commit is contained in:
Joe Danziger
2025-05-27 10:05:26 -04:00
parent d448a7625b
commit 9d25178d12
2 changed files with 11 additions and 4 deletions

View File

@@ -136,12 +136,12 @@ function transformCursorToProfileRules(
conversionConfig,
globalReplacements = []
) {
// Apply all transformations in appropriate order
let result = content;
// Apply all transformations in appropriate order
result = updateFileReferences(result, conversionConfig);
result = replaceBasicTerms(result, conversionConfig);
result = replaceToolReferences(result, conversionConfig);
result = updateDocReferences(result, conversionConfig);
result = updateFileReferences(result, conversionConfig);
// Apply any global/catch-all replacements from the profile
// Super aggressive failsafe pass to catch any variations we might have missed