mirror of
https://github.com/whyour/qinglong.git
synced 2026-06-30 20:35:09 +08:00
修复shell本地开发兼容性
This commit is contained in:
@@ -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');
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user