mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 01:39:52 +08:00
修复shell本地开发兼容性
This commit is contained in:
1 parent
b009d3e3fd
commit
a7b5a0f4c5
3 files changed
+18
-8
No files matched your search
@@ -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