mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-02-01 22:48:03 +00:00
Update packages/cli/src/config/settings.ts
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
@@ -469,7 +469,7 @@ export function loadEnvironment(
|
||||
}
|
||||
|
||||
// Load variable only if it's not already set in the environment or if it's an empty string.
|
||||
if (!process.env[key]) {
|
||||
if (!Object.hasOwn(process.env, key)) {
|
||||
process.env[key] = parsedEnv[key];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user