From 662eeee38018312e568771147a6f70d1a1072c81 Mon Sep 17 00:00:00 2001 From: XuJiacheng Date: Fri, 16 Jan 2026 17:24:20 +0800 Subject: [PATCH] =?UTF-8?q?refactor(scripts):=20=E6=B7=BB=E5=8A=A0=20envCo?= =?UTF-8?q?nfig=20=E5=8F=98=E9=87=8F=EF=BC=8C=E5=B7=B2=E5=AE=8C=E6=88=90?= =?UTF-8?q?=E5=88=9D=E7=89=88=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 初始化 envConfig 对象以便后续存 储从 .env 文件读取的配置 --- scripts/check-env.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/check-env.js b/scripts/check-env.js index d3ddb61..bc5b53f 100644 --- a/scripts/check-env.js +++ b/scripts/check-env.js @@ -25,6 +25,8 @@ for (const p of pathsToCheck) { } } +let envConfig = {}; + if (envPath) { console.log('✅ 找到 .env 文件:', envPath); try {