mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-30 20:50:34 +00:00
More version simplifiction. (#810)
This commit is contained in:
parent
63757d6a7a
commit
680f4cdd61
8 changed files with 13 additions and 65 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue