refactor(scripts): 添加 envConfig 变量,已完成初版开发

- 初始化 envConfig 对象以便后续存 储从 .env 文件读取的配置
This commit is contained in:
2026-01-16 17:24:20 +08:00
parent 625cb9eea4
commit 662eeee380

View File

@@ -25,6 +25,8 @@ for (const p of pathsToCheck) {
} }
} }
let envConfig = {};
if (envPath) { if (envPath) {
console.log('✅ 找到 .env 文件:', envPath); console.log('✅ 找到 .env 文件:', envPath);
try { try {