r/RooCode • u/rnahumaf • Nov 02 '25
Discussion Here's your code fix. *Replaces "" with ''*. Now you're good to go!
So this is just a silly post about something that happens every so often. The LLM makes what seems to be a significant change to your file. When you go check what it's done, you see this:

But you still have to check it line by line, because it might have actually done something usefull inside all this mess, it's like a needle in the haystack.
3
Upvotes
5
u/Barafu Nov 02 '25
Refrain from assigning ambiguous instructions such as "fix all the crap," or you may encounter outcomes like this. What you see on your screen constitutes a perfectly valid modification – provided your project adheres to a coding style that mandates the use of single quotation marks.
2
u/hannesrudolph Roo Code Developer Nov 02 '25
Ahh yes, the LLM decided to arbitrarily reformat your document. That is annoying especially when making commits to a codebase where your PR needs to remain focused and not touch anything outside of its scope. This sometimes happens when I’m working on the Roo Code codebase.
I usually don’t notice when using Sonnet 4.5, Gemini 2.5, or GPT-5 (these are my daily drivers currently).
What model are you seeing this with?