mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
[ios][prebuilt] fixed using continue in loop
Instead of returning when creating the list of header files from our podspecs, we now call `continue`. This is a bug that causes all subsequent globs in the header file list to be omitted after the first omitted glob.
This commit is contained in:
+1
-1
@@ -49,7 +49,7 @@ function getHeaderFilesFromPodspecs(
|
||||
let arg2 = match[2]?.trim().replace(/['"]/g, '');
|
||||
if (!arg2) {
|
||||
// Skip
|
||||
return;
|
||||
continue;
|
||||
}
|
||||
// Check if arg2 is an array (e.g., ['a', 'b'])
|
||||
if (arg2.startsWith('[') && arg2.endsWith(']')) {
|
||||
|
||||
Reference in New Issue
Block a user