wujingjing
2024-09-09 b64fff3fb3aa01c60e0caba74a7a82d2697480e9
scripts/deploy.js
@@ -1,4 +1,4 @@
const { uploadFiles, customerList,checkCustomer,changeBranch} = require('./helper');
const { uploadFiles, customerList, checkCustomer, changeBranch } = require('./helper');
if (!customerList || customerList.length === 0) {
   logError(`请正确使用命令 “npm run deploy [customer1,customer2,customer3,...]”,
@@ -6,7 +6,8 @@
   `);
   exit(); // 退出脚本
}
changeBranch();
checkCustomer('npm run deploy')
checkCustomer('npm run deploy');
uploadFiles();