修复shell本地开发兼容性

This commit is contained in:
whyour
2022-06-09 12:10:41 +08:00
parent b009d3e3fd
commit a7b5a0f4c5
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');
};