Skip to content

Commit

Permalink
emptyStringAsUndefined disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
LobeTia committed Sep 30, 2024
1 parent 59c6ca9 commit 97654b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/env.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const env = createEnv({
* Makes it so that empty strings are treated as undefined. `SOME_VAR: z.string()` and
* `SOME_VAR=''` will throw an error.
*/
emptyStringAsUndefined: true,
emptyStringAsUndefined: false,

/**
* You can't destruct `process.env` as a regular object in the Next.js edge runtimes (e.g.
Expand Down

0 comments on commit 97654b5

Please sign in to comment.