[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:
Christian Falch
2025-07-08 16:38:43 +02:00
parent e2087457f8
commit f217bce77a
+1 -1
View File
@@ -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(']')) {