You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
util.parseEnv and --env-file: an empty value followed by a space takes the next line as its value #67400
--env-file reads a file holding those two lines the same way, so DATABASE_URL is unset.
How often does it reproduce? Is there a required condition?
Always, when a value is empty and a space or tab follows the =.
What is the expected behavior? Why is that the expected behavior?
{ SENTRY_DSN: '', DATABASE_URL: 'postgres://localhost/app' }. The DotEnv docs say unquoted values are restricted to a single line, and SENTRY_DSN= with nothing after it already reads as ''. The dotenv package, Bun and a shell's source read the file this way.
Activity
src: do not read the next line for an empty value