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

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

1
-const cp = (`child_process`);
1
+const cp = require('child_process');
2
 
2
 
3
-cp.execSync(`rm yarn.lock `);
3
+cp.execSync(`rm yarn.lock`);
4
 cp.execSync(`rm -rf node_modules/react-native-navigation/node_modules`);
4
 cp.execSync(`rm -rf node_modules/react-native-navigation/node_modules`);
5
 cp.execSync(`rm -rf node_modules/react-native-navigation/playground`);
5
 cp.execSync(`rm -rf node_modules/react-native-navigation/playground`);