We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2635756 commit 4bfa5eeCopy full SHA for 4bfa5ee
react.gradle
@@ -34,7 +34,7 @@ def hermesCommand = config.hermesCommand ?: "../../node_modules/hermes-engine/%O
34
/**
35
* Detects CLI location in a similar fashion to the React Native CLI
36
*/
37
-def detectCliPath(config) {
+def detectCliPath(config, reactRoot) {
38
// 1. preconfigured path
39
if (config.cliPath) {
40
def cliJsAbsolute = new File(config.cliPath)
@@ -173,7 +173,7 @@ afterEvaluate {
173
174
// Additional node and packager commandline arguments
175
def nodeExecutableAndArgs = config.nodeExecutableAndArgs ?: ["node"]
176
- def cliPath = detectCliPath(config)
+ def cliPath = detectCliPath(config, reactRoot)
177
178
def execCommand = []
179
0 commit comments