Skip to content

Commit f799fa1

Browse files
dragonwongFacebook Github Bot 3
authored andcommitted
remove the unnecessary 'var' in runVerbose
Summary: [react-native-cli] Remove the unnecessary 'var' in `runVerbose`, keep pace with `run`. Closes facebook#9758 Differential Revision: D3821139 Pulled By: javache fbshipit-source-id: 7651135a91a22d7e07af89fde20da3194ce054c8
1 parent a1f31d1 commit f799fa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

react-native-cli/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ function run(root, projectName, rnPackage) {
224224

225225
checkNodeVersion();
226226

227-
var cli = require(CLI_MODULE_PATH());
227+
cli = require(CLI_MODULE_PATH());
228228
cli.init(root, projectName);
229229
});
230230
}

0 commit comments

Comments
 (0)