1 parent f132fe7 commit 3d3269cCopy full SHA for 3d3269c
1 file changed
src/source-patches.js
@@ -8,7 +8,7 @@ const patchFile = async (path, replacements) => {
8
const original = await readFile(path, 'utf8');
9
let updated = original;
10
for (const [from, to] of replacements) {
11
- if (!updated.includes(to)) {
+ if (updated.includes(from)) {
12
updated = updated.replace(from, to);
13
}
14
0 commit comments