mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-07 08:26:51 +00:00
Fixes
This commit is contained in:
parent
717d83b5cb
commit
364f0921ba
1 changed files with 1 additions and 0 deletions
|
|
@ -14,6 +14,7 @@ function detectCodeOmission(originalFileContent: string, newFileContent: string)
|
|||
const commentPatterns = [
|
||||
/^\s*\/\//, // Single-line comment for most languages
|
||||
/^\s*#/, // Single-line comment for Python, Ruby, etc.
|
||||
/^\s*\/\*/, // Multi-line comment opening
|
||||
/^\s*{\s*\/\*/, // JSX comment opening
|
||||
/^\s*<!--/, // HTML comment opening
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue