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