We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88caa14 commit 913398aCopy full SHA for 913398a
1 file changed
src/agents/workspace-templates.test.ts
@@ -64,8 +64,8 @@ describe("AGENTS.md template content priority order", () => {
64
const content = await fs.readFile(templatePath, "utf-8");
65
return content
66
.split("\n")
67
- .filter((line) => /^## /.test(line))
68
- .map((line) => line.replace(/^## /, "").trim());
+ .filter((line) => line.startsWith("## "))
+ .map((line) => line.slice("## ".length).trim());
69
}
70
71
it("places Red Lines before Memory and Group Chats", async () => {
0 commit comments