fix(filesystem): preserve literal dollar replacements (#4225)

Co-authored-by: Ola Hungerford <olahungerford@gmail.com>
This commit is contained in:
Krish Garg 2026-05-29 21:27:03 -07:00 • committed by GitHub
commit 00ce9cf134
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -207,7 +207,7 @@ export async function applyFileEdits(
// If exact match exists, use it
if (modifiedContent.includes(normalizedOld)) {
modifiedContent = modifiedContent.replace(normalizedOld, normalizedNew);
modifiedContent = modifiedContent.replace(normalizedOld, () => normalizedNew);
continue;
}