From f8fb4bb6312d9cfed44f22c2ec99305e7e59bbd8 Mon Sep 17 00:00:00 2001
From: wujingjing <gersonwu@qq.com>
Date: 星期一, 23 九月 2024 11:08:51 +0800
Subject: [PATCH] openInBrowser: false

---
 scripts/helper.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/helper.js b/scripts/helper.js
index 62fda81..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];

--
Gitblit v1.9.3