Elffuss BraidHub

kikocis/continue public

fix: :bug: The edit rules button doesn't open the rule file
Changeset45f19a703bdb0ee753fb2a803025f668a1503cdc15e143a88f4bfc0cf14f7dba
Authorchezsmithy <chezsmithy@me.com> · 2025-07-02 17:06 -07:00
Committerchezsmithy <chezsmithy@me.com> · 2025-07-02 17:06 -07:00
Parentsa0c996c3d18a

Browse the files at this changeset

2 files changed

modified core/config/markdown/loadCodebaseRules.ts +1 −1
@@ -33,7 +33,7 @@
3333 const content = await ide.readFile(filePath);
3434 const rule = markdownToRule(content, { uriType: "file", filePath });
3535
36- rules.push({ ...rule, source: "rules-block" });
36+ rules.push({ ...rule, source: "rules-block", ruleFile: filePath });
3737 } catch (e) {
3838 errors.push({
3939 fatal: false,
modified core/config/markdown/loadMarkdownRules.ts +1 −1
@@ -33,7 +33,7 @@
3333 uriType: "file",
3434 filePath: file.path,
3535 });
36- rules.push({ ...rule, source: "rules-block" });
36+ rules.push({ ...rule, source: "rules-block", ruleFile: file.path });
3737 } catch (e) {
3838 errors.push({
3939 fatal: false,