mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
More version simplifiction. (#810)
This commit is contained in:
committed by
GitHub
parent
63757d6a7a
commit
680f4cdd61
@@ -316,10 +316,9 @@ function findEnvFile(startDir: string): string | null {
|
||||
|
||||
export function loadEnvironment(): void {
|
||||
const envFilePath = findEnvFile(process.cwd());
|
||||
if (!envFilePath) {
|
||||
return;
|
||||
if (envFilePath) {
|
||||
dotenv.config({ path: envFilePath });
|
||||
}
|
||||
dotenv.config({ path: envFilePath });
|
||||
}
|
||||
|
||||
export function createServerConfig(params: ConfigParameters): Config {
|
||||
|
||||
Reference in New Issue
Block a user