mirror of
https://github.com/status-im/react-native.git
synced 2025-02-24 07:08:27 +00:00
[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:
parent
749f32b1e5
commit
811079ede2
2
react-native-cli/index.js
vendored
2
react-native-cli/index.js
vendored
@ -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);
|
||||
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user