wujingjing
2024-11-19 a1a6827edea6100849b28d0ef3cdc99c23d8b125
scripts/helper.js
@@ -18,8 +18,8 @@
const commonDir = path.join(customerListDir, 'common');
 const item = customerList[0];
const customerSplit = item.split(':');
const deployEnv = customerSplit[1];
const customerSplit = item?.split(':');
const deployEnv = customerSplit?.[1];
// 是否为生产环境
const isPro = deployEnv==='pro';
// const deployEnv = process.argv[3];
@@ -384,6 +384,6 @@
   updateImportGlob,
   restoreImportGlob,
   deployEnv,
   changeBranch
};