Skip to content

Commit f48c180

Browse files
authored
Merge pull request #18 from eaa/master
fix path-rn.js for release build
2 parents e11aab8 + 1743ed9 commit f48c180

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

patch-rn.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const pattern = new RegExp(
1010
'invariant\\([\\s\\S]{0,20}' +
1111
'(hostContext|type)\\.isInAParentText,[\\s\\S]{0,20}' +
1212
'"Text strings must be rendered within a <Text> component\\."[\\s\\S]{0,20}' +
13-
'\\);'
13+
'\\)[;,]'
1414
);
1515

1616
const patchFile = async (file) => {

0 commit comments

Comments
 (0)