summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMot <[email protected]>2025-06-27 19:03:20 -0700
committerGitHub <[email protected]>2025-06-28 02:03:20 +0000
commitad7839ea4c6484485678049e8539f109304582fb (patch)
tree83a0247c8b892e4692e50b25d0c5f0e3b8694985
parent2e20effb43657de3944091f164f9fbd72b4b2977 (diff)
quiet dotenv log message (#2239)
Co-authored-by: Scott Densmore <[email protected]>
-rw-r--r--package-lock.json10
-rw-r--r--packages/cli/package.json2
-rw-r--r--packages/cli/src/config/config.ts2
-rw-r--r--packages/core/package.json2
-rw-r--r--scripts/sandbox_command.js4
5 files changed, 10 insertions, 10 deletions
diff --git a/package-lock.json b/package-lock.json
index 1afcfd90..483b42cb 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -4334,9 +4334,9 @@
}
},
"node_modules/dotenv": {
- "version": "16.5.0",
- "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.5.0.tgz",
- "integrity": "sha512-m/C+AwOAr9/W1UOIZUo232ejMNnJAJtYQjUbHoNTBNTJSvqzzDh7vnrei3o3r3m9blf6ZoDkvcw0VmozNRFJxg==",
+ "version": "16.6.1",
+ "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.6.1.tgz",
+ "integrity": "sha512-uBq4egWHTcTt33a72vpSG0z3HnPuIl6NqYcTrKEg2azoEyl2hpW0zqlxysq2pK9HlDIHyHyakeYaYnSAwd8bow==",
"license": "BSD-2-Clause",
"engines": {
"node": ">=12"
@@ -11199,7 +11199,7 @@
"@types/update-notifier": "^6.0.8",
"command-exists": "^1.2.9",
"diff": "^7.0.0",
- "dotenv": "^16.4.7",
+ "dotenv": "^16.6.1",
"gaxios": "^6.1.1",
"glob": "^10.4.1",
"highlight.js": "^11.11.1",
@@ -11384,7 +11384,7 @@
"@types/glob": "^8.1.0",
"@types/html-to-text": "^9.0.4",
"diff": "^7.0.0",
- "dotenv": "^16.4.7",
+ "dotenv": "^16.6.1",
"gaxios": "^6.1.1",
"glob": "^10.4.5",
"google-auth-library": "^9.11.0",
diff --git a/packages/cli/package.json b/packages/cli/package.json
index 846399aa..0f4aa06d 100644
--- a/packages/cli/package.json
+++ b/packages/cli/package.json
@@ -34,7 +34,7 @@
"@types/update-notifier": "^6.0.8",
"command-exists": "^1.2.9",
"diff": "^7.0.0",
- "dotenv": "^16.4.7",
+ "dotenv": "^16.6.1",
"gaxios": "^6.1.1",
"glob": "^10.4.1",
"highlight.js": "^11.11.1",
diff --git a/packages/cli/src/config/config.ts b/packages/cli/src/config/config.ts
index c053f4b6..552a8f67 100644
--- a/packages/cli/src/config/config.ts
+++ b/packages/cli/src/config/config.ts
@@ -297,6 +297,6 @@ function findEnvFile(startDir: string): string | null {
export function loadEnvironment(): void {
const envFilePath = findEnvFile(process.cwd());
if (envFilePath) {
- dotenv.config({ path: envFilePath });
+ dotenv.config({ path: envFilePath, quiet: true });
}
}
diff --git a/packages/core/package.json b/packages/core/package.json
index 4a25b4e7..e4a3a334 100644
--- a/packages/core/package.json
+++ b/packages/core/package.json
@@ -34,7 +34,7 @@
"@types/glob": "^8.1.0",
"@types/html-to-text": "^9.0.4",
"diff": "^7.0.0",
- "dotenv": "^16.4.7",
+ "dotenv": "^16.6.1",
"gaxios": "^6.1.1",
"glob": "^10.4.5",
"google-auth-library": "^9.11.0",
diff --git a/scripts/sandbox_command.js b/scripts/sandbox_command.js
index a469c81a..774018a9 100644
--- a/scripts/sandbox_command.js
+++ b/scripts/sandbox_command.js
@@ -52,10 +52,10 @@ if (!geminiSandbox) {
const geminiEnv = join(currentDir, '.gemini', '.env');
const regularEnv = join(currentDir, '.env');
if (existsSync(geminiEnv)) {
- dotenv.config({ path: geminiEnv });
+ dotenv.config({ path: geminiEnv, quiet: true });
break;
} else if (existsSync(regularEnv)) {
- dotenv.config({ path: regularEnv });
+ dotenv.config({ path: regularEnv, quiet: true });
break;
}
currentDir = dirname(currentDir);