From f799fa13b838d84bc9fe62ba7b30b80002085552 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=A4=A7=E6=A0=B9?= <814465104@qq.com> Date: Tue, 6 Sep 2016 04:16:48 -0700 Subject: [PATCH] remove the unnecessary 'var' in `runVerbose` Summary: [react-native-cli] Remove the unnecessary 'var' in `runVerbose`, keep pace with `run`. Closes https://github.com/facebook/react-native/pull/9758 Differential Revision: D3821139 Pulled By: javache fbshipit-source-id: 7651135a91a22d7e07af89fde20da3194ce054c8 --- react-native-cli/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react-native-cli/index.js b/react-native-cli/index.js index f367fefa858..1580136cbf5 100755 --- a/react-native-cli/index.js +++ b/react-native-cli/index.js @@ -224,7 +224,7 @@ function run(root, projectName, rnPackage) { checkNodeVersion(); - var cli = require(CLI_MODULE_PATH()); + cli = require(CLI_MODULE_PATH()); cli.init(root, projectName); }); }