瀏覽代碼

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