Browse Source

fixed script

Daniel Zlotin 7 years ago
parent
commit
b1a138f080
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      playground/scripts/postinstall.js

+ 2
- 2
playground/scripts/postinstall.js View File

@@ -1,6 +1,6 @@
1 1
 const shellUtils = require('shell-utils');
2 2
 
3
-shellUtils.exec.execSync(`rm yarn.lock`);
3
+shellUtils.exec.execSync(`rm yarn.lock || true`);
4
+shellUtils.exec.execSync(`./scripts/ignoreReactWarnings.rb`);
4 5
 shellUtils.exec.execSync(`rm -rf node_modules/react-native-navigation/node_modules`);
5 6
 shellUtils.exec.execSync(`rm -rf node_modules/react-native-navigation/playground`);
6
-shellUtils.exec.execSync(`./scripts/ignoreReactWarnings.rb`);