From da056d7380fff877f01c88769af3fc6d5cad7c00 Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期四, 24 十月 2024 16:34:32 +0800 Subject: [PATCH] 角色管理和访问日志 --- scripts/helper.js | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/helper.js b/scripts/helper.js index d092997..281ab87 100644 --- a/scripts/helper.js +++ b/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 }; -- Gitblit v1.9.3