浏览代码

fixed script

Daniel Zlotin 7 年前
父节点
当前提交
b1a138f080
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      playground/scripts/postinstall.js

+ 2
- 2
playground/scripts/postinstall.js 查看文件

@@ -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`);