From 01e025c479527808c81642c7ff9d0ab78cc800ec Mon Sep 17 00:00:00 2001 From: Luk Lu Date: Sat, 23 Apr 2022 16:03:46 +0800 Subject: [PATCH] renaming Config*.js to envar-base-*.js --- deploy.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy.js b/deploy.js index cc8b5cc..17a1afe 100644 --- a/deploy.js +++ b/deploy.js @@ -39,11 +39,11 @@ const wo = (global.wo = { // 读取配置文件 try { let configFile - if (fs.existsSync(configFile=path.join(process.cwd(), 'ConfigDeploy.js'))) { + if (fs.existsSync(configFile=path.join(process.cwd(), 'envar-base-deploy.js'))) { wo.envar = deepmerge(wo.envar, require(configFile)) console.info(`${configFile} loaded`) } - if (fs.existsSync(configFile=path.join(process.cwd(), 'ConfigSecret.js'))) { + if (fs.existsSync(configFile=path.join(process.cwd(), 'envar-base-secret.js'))) { wo.envar = deepmerge(wo.envar, require(configFile)) console.info(`${configFile} loaded`) }