[global-cli] Bump version to 0.1.9

To release a new version with the fix for Windows:
https://github.com/facebook/react-native/pull/5171

Thanks a lot @tdzl2003!

Tweaked the platform check to use `process.platform`
as that's more common in the codebase. No strong preference,
just for consistency.
This commit is contained in:
Martin Konicek 2016-01-07 17:03:45 +00:00
parent 749f32b1e5
commit 811079ede2
2 changed files with 2 additions and 2 deletions

View File

@ -200,7 +200,7 @@ function run(root, projectName, logLevel) {
spawnArgs = {stdio: 'inherit'};
}
var proc;
if (os.platform() === 'win32'){
if (/^win/.test(process.platform)) {
args.unshift('npm');
args.unshift('/c');
proc = spawn('cmd', args, spawnArgs);

View File

@ -1,6 +1,6 @@
{
"name": "react-native-cli",
"version": "0.1.8",
"version": "0.1.9",
"license" : "BSD-3-Clause",
"description": "The React Native CLI tools",
"main": "index.js",