fix: empty env variables should be ignored (#2040)

* fix: empty env variables should be ignored

* fix: e2e test fails because of empty env variable values
This commit is contained in:
Meier Lukas
2025-01-21 13:09:49 +01:00
committed by GitHub
parent c922c5b083
commit 175927970b
5 changed files with 12 additions and 4 deletions

View File

@@ -26,4 +26,5 @@ export const env = createEnv({
SECRET_ENCRYPTION_KEY: process.env.SECRET_ENCRYPTION_KEY,
},
skipValidation: shouldSkipEnvValidation(),
emptyStringAsUndefined: true,
});