Elffuss BraidHub

kikocis/continue public

Merge pull request #6423 from chezsmithy/fix-edit-rules

fix: :bug: The edit rules button doesn't open the rule file
Changeset14901dcb199ba4a7c28f317ef762cbc63b973953079277cd3419f59eff0d09df
AuthorPatrick Erichsen <patrick.a.erichsen@gmail.com> · 2025-07-02 18:05 -07:00
CommitterGitHub <noreply@github.com> · 2025-07-02 18:05 -07:00
Parentsd7d593f1d0c3, 45f19a703bdb

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,