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 #43204
Changelog: [iOS][Fixed] - Codegen correctly handles react-native.config.js.

Reviewed By: cipolleschi

Differential Revision: D54248400

fbshipit-source-id: 2ae5d0d29f49725877559a5b0edd7d59f8bdefaa
  • Loading branch information
dmytrorykun authored and facebook-github-bot committed Feb 27, 2024
1 parent a40bd8e commit f5d5d9d
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 f5d5d9d

Please sign in to comment.