1
2
3
4
5
6
7
8
9
10
11
12
| const { uploadFiles, customerList,checkCustomer,changeBranch} = require('./helper');
|
| if (!customerList || customerList.length === 0) {
| logError(`请正确使用命令 “npm run deploy [customer1,customer2,customer3,...]”,
| 部署到生产环境写法:customer:pro
| `);
| exit(); // 退出脚本
| }
|
| checkCustomer('npm run deploy')
|
| uploadFiles();
|
|