Browse Source

Remove extra colon from rules content (#2409)

Matt Rubens 10 months ago
parent
commit
08b586334b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/prompts/sections/custom-instructions.ts

+ 1 - 1
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")
 	)