121184bb8f
Summary: `react.gradle`'s `detectCliPath` was not working correctly for the `cliJsFromNode` check, this fixes it. ## Changelog [Android] [Fixed] - Fix react.gradle's detectCliPath's for finding the path from Node Pull Request resolved: https://github.com/facebook/react-native/pull/34808 Test Plan: Tested manually from a monorepo setup, this incorrect check was preventing the CLI from being found correctly: ``` ❯ pwd /Users/liam.jones/code/monorepo/packages/apps/app1/android ❯ node --print "require.resolve('react-native/cli').bin" # old code undefined ❯ node --print "require.resolve('react-native/cli')" # new code /Users/liam.jones/code/monorepo/node_modules/react-native/cli.js Reviewed By: cortinico Differential Revision: D39883661 Pulled By: cortinico fbshipit-source-id: 2120df3443e38631e0fbd9b844aa93a87449186f |
||
---|---|---|
.. | ||
assets | ||
babel-plugin-codegen | ||
eslint-config-react-native-community | ||
eslint-plugin-react-native-community | ||
eslint-plugin-specs | ||
normalize-color | ||
polyfills | ||
react-native-bots | ||
react-native-codegen | ||
react-native-gradle-plugin | ||
rn-tester |