From 08b586334b67e99b0c08e7c5dc674899816db1d0 Mon Sep 17 00:00:00 2001 From: Matt Rubens Date: Tue, 8 Apr 2025 11:40:23 -0400 Subject: [PATCH] Remove extra colon from rules content (#2409) --- src/core/prompts/sections/custom-instructions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/prompts/sections/custom-instructions.ts b/src/core/prompts/sections/custom-instructions.ts index d85d64bd55..fff4908e55 100644 --- a/src/core/prompts/sections/custom-instructions.ts +++ b/src/core/prompts/sections/custom-instructions.ts @@ -74,7 +74,7 @@ function formatDirectoryContent(dirPath: string, files: Array<{ filename: string "\n\n" + files .map((file) => { - return `# Rules from ${file.filename}:\n${file.content}:` + return `# Rules from ${file.filename}:\n${file.content}` }) .join("\n\n") )