修复shell本地开发兼容性

This commit is contained in:
whyour
2022-06-09 12:10:41 +08:00
parent c09c375066
commit 2e26a8c24e
3 changed files with 18 additions and 8 deletions
+4
View File
@@ -64,5 +64,9 @@ export default async () => {
dotenv.config({ path: confFile });
// 声明QL_DIR环境变量
const qlHomePath = path.join(__dirname, '../../');
process.env.QL_DIR = qlHomePath;
Logger.info('✌️ Init file down');
};