Skip to content

Commit 4eea7fa

Browse files
committed
m
1 parent 9ed2d09 commit 4eea7fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

patch-rn.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ const pattern = new RegExp(
1313

1414
const patchFile = async (file) => {
1515
const content = (await promisify(fs.readFile)(file)).toString();
16-
const patched = content.replace(patterns, '');
17-
16+
const patched = content.replace(pattern, '');
17+
1818
await promisify(fs.writeFile)(file, patched);
1919
};
2020

0 commit comments

Comments
 (0)