Skip to content

Commit

Permalink
Fix findLibrariesFromReactNativeConfig
Browse files Browse the repository at this point in the history
Summary:
This diff removes extra argument from the `extractLibrariesFromJSON` call inside `findLibrariesFromReactNativeConfig`.
This should fix the iOS failurte discribed in facebook#43204
Changelog: [iOS][Fixed] - Codegen correctly handles react-native.config.js.

Reviewed By: cipolleschi

Differential Revision: D54248400
  • Loading branch information
dmytrorykun authored and facebook-github-bot committed Feb 27, 2024
1 parent 3b93f0e commit 5bda7d2
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -283,11 +283,7 @@ function findLibrariesFromReactNativeConfig(projectRoot) {
return [];
}

return extractLibrariesFromJSON(
configFile,
configFile.name,
codegenConfigFileDir,
);
return extractLibrariesFromJSON(configFile, codegenConfigFileDir);
});
}

Expand Down

0 comments on commit 5bda7d2

Please sign in to comment.