Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed wrong usage of require when resolving supportsCodegenConfig
When resolving the version inside `react-native-config` which is used by the autolinking gradle tasks, the wrong use of require was used. This fix changes from using `require.main.require` -> `require`. The difference is that require.main.require resolves from the entry point (main script), while require resolves from the location of the current file. Closes callstack#652
- Loading branch information