Skip to content

Commit

Permalink
Update react.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
grabbou committed Apr 28, 2020
1 parent 423b55b commit 59165ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def detectCliPath(config) {
return config.cliPath
}

def cliPath = ["node", "-e", "console.log(require('react-native/cli').bin);"].execute([], projectDir).text
def cliPath = ["node", "-e", "console.log(require('react-native/cli').bin);"].execute([], projectDir).text.trim()

if (cliPath) {
return cliPath
Expand Down

0 comments on commit 59165ac

Please sign in to comment.