Skip to content

Commit 3f23382

Browse files
committed
m
1 parent 15fb27e commit 3f23382

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
@@ -5,8 +5,8 @@ const { promisify } = require('util');
55
const glob = require('glob');
66

77
const pattern = new RegExp(
8-
'invariant\\([\\s\\S]+' +
9-
'(hostContext|type)\\.isInAParentText,[\\s\\S]+' +
8+
'invariant\\([\\s\\S]+?' +
9+
'(hostContext|type)\\.isInAParentText,[\\s\\S]+?' +
1010
'"Text strings must be rendered within a <Text> component\\."[\\s\\S]+?' +
1111
'\\);'
1212
);

0 commit comments

Comments
 (0)