We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ed2d09 commit 4eea7faCopy full SHA for 4eea7fa
patch-rn.js
@@ -13,8 +13,8 @@ const pattern = new RegExp(
13
14
const patchFile = async (file) => {
15
const content = (await promisify(fs.readFile)(file)).toString();
16
- const patched = content.replace(patterns, '');
17
-
+ const patched = content.replace(pattern, '');
+
18
await promisify(fs.writeFile)(file, patched);
19
};
20
0 commit comments