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:
Bryan Morgan
2026-01-31 15:08:42 -05:00
committed by GitHub
parent 5549fbf8e5
commit e855d2ef6f

View File

@@ -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];
}
}