File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
packages/platform-apple-helpers/src/lib/utils Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @rnef/platform-apple-helpers ' : patch
3+ ---
4+
5+ fix: pod install with missing 'm' regex flag
Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ function checkGemfileForCocoaPods(gemfilePath: string): boolean {
216216 try {
217217 const gemfileContent = fs . readFileSync ( gemfilePath , 'utf-8' ) ;
218218 // Check for common CocoaPods gem declarations, because some projects might have Gemfile but for other purposes
219- return / ^ \s * g e m \s + [ ' " ] c o c o a p o d s [ ' " ] / . test ( gemfileContent ) ;
219+ return / ^ \s * g e m \s + [ ' " ] c o c o a p o d s [ ' " ] / m . test ( gemfileContent ) ;
220220 } catch ( error ) {
221221 logger . debug ( `Failed to read Gemfile at: ${ gemfilePath } ` ) ;
222222 logger . debug ( error ) ;
You can’t perform that action at this time.
0 commit comments