react-native/local-cli
Henry Zhu 89a486eb3b Fix: cli.js - use var instead of const
Summary:Explain the **motivation** for making this change. What existing problem does the pull request solve?

Fixes https://github.com/facebook/react-native/issues/6203

> SyntaxError: Use of const in strict mode.

- The rest of the file isn't using es6 anyway and babel-register is run on the file it's included in

**Test plan (required)**

Shouldn't have issues replacing it since it's used right after one time.
Closes https://github.com/facebook/react-native/pull/6329

Differential Revision: D3017697

Pulled By: martinbigio

fb-gh-sync-id: 42ee011d032a4bae3409b8e7793c9eb508719964
shipit-source-id: 42ee011d032a4bae3409b8e7793c9eb508719964
2016-03-06 18:56:27 -08:00
..
__mocks__ Fix more tests 2015-09-16 13:05:30 -07:00
__tests__ Temporarily disable cli tests 2015-11-12 07:05:01 -08:00
bundle Add ability to load “unbundles” to android 2016-01-21 14:13:50 -08:00
dependencies Use same options on dependencies and bundle commands 2016-01-11 15:31:33 -08:00
generate Revert "Add folders to attempt to unblock sync" 2015-10-26 22:48:10 +00:00
generator Deleted unnecessary 'use strict' in new project templates 2016-03-06 09:01:24 -08:00
generator-android fix resources build variable name 2016-02-25 17:21:30 -08:00
generator-ios Create offline package if not running in "Debug" config 2016-02-24 03:11:38 -08:00
library Introduce react-native link 2015-10-27 11:22:28 -07:00
runAndroid run-android Chose your Term for OSX, and Linux 2016-03-04 21:55:27 -08:00
runIOS Added `react-native run-ios` 2016-01-05 17:18:49 -08:00
server Sanitize lineNumber in launchEditor 2016-03-04 12:07:02 -08:00
upgrade Move `react` to peerDependencies 2016-02-09 15:38:37 -08:00
util Revert "Add folders to attempt to unblock sync" 2015-10-26 22:48:10 +00:00
cli.js Fix: cli.js - use var instead of const 2016-03-06 18:56:27 -08:00
default.config.js More descriptive comment in default.config.js 2015-11-12 07:43:25 -08:00
generate-android.js Add license headers to local-cli 2015-10-20 09:55:21 -07:00
generator-utils.js Add license headers to local-cli 2015-10-20 09:55:21 -07:00
setup_env.bat Fix comments on .bat file 2015-10-28 21:36:07 -04:00
setup_env.sh Change ulimit to 2048 for non root Mac users 2016-02-06 11:45:37 -08:00
wrong-react-native.js Return non-zero exit code from wrong-react-native 2016-01-05 15:22:59 -08:00