We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be346a1 commit ea9fc73Copy full SHA for ea9fc73
npm-packages/convex/src/cli/lib/envvars.ts
@@ -170,8 +170,14 @@ async function envVarWriteConfig(
170
if (oldValue === value) {
171
return null;
172
}
173
- if (Object.values(config).filter((v) => v === oldValue).length !== 1) {
174
- chalk.yellow(`Can't safely modify ${envFile}, please edit manually.`);
+ if (
+ oldValue !== "" &&
175
+ Object.values(config).filter((v) => v === oldValue).length !== 1
176
+ ) {
177
+ logWarning(
178
+ ctx,
179
+ chalk.yellow(`Can't safely modify ${envFile}, please edit manually.`),
180
+ );
181
182
183
return { envFile, envVar: existingEnvVar, existingFileContent };
0 commit comments