Skip to content

Commit 0aa955b

Browse files
committed
m
1 parent 3f23382 commit 0aa955b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

patch-rn.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ 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]+?' +
10-
'"Text strings must be rendered within a <Text> component\\."[\\s\\S]+?' +
8+
'invariant\\([\\s\\S]{0,20}' +
9+
'(hostContext|type)\\.isInAParentText,[\\s\\S]{0,20}' +
10+
'"Text strings must be rendered within a <Text> component\\."[\\s\\S]{0,20}' +
1111
'\\);'
1212
);
1313

0 commit comments

Comments
 (0)