Browse Source

fix: add case sensitivity mention to suggested fixes in apply_diff error message (#6076)

Co-authored-by: Roo Code <[email protected]>
roomote[bot] 7 months ago
parent
commit
dbde23c84e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/tools/multiApplyDiffTool.ts

+ 1 - 1
src/core/tools/multiApplyDiffTool.ts

@@ -451,7 +451,7 @@ Diff ${i + 1} failed for file: ${relPath}
 Error: ${failPart.error}
 Error: ${failPart.error}
 
 
 Suggested fixes:
 Suggested fixes:
-1. Verify the search content exactly matches the file content (including whitespace)
+1. Verify the search content exactly matches the file content (including whitespace and case)
 2. Check for correct indentation and line endings
 2. Check for correct indentation and line endings
 3. Use <read_file> to see the current file content
 3. Use <read_file> to see the current file content
 4. Consider breaking complex changes into smaller diffs
 4. Consider breaking complex changes into smaller diffs