From 59165acafe6818d5de13f2173ea29601b9a59f94 Mon Sep 17 00:00:00 2001 From: Mike Grabowski Date: Tue, 28 Apr 2020 17:57:14 +0200 Subject: [PATCH] Update react.gradle --- react.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react.gradle b/react.gradle index ea3fee2ee6c2..6441d93f70ec 100644 --- a/react.gradle +++ b/react.gradle @@ -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