Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dotenv integration unable to handle .env files with export lines #1207

Closed
euphemism opened this issue May 16, 2024 · 0 comments · Fixed by #1226
Closed

dotenv integration unable to handle .env files with export lines #1207

euphemism opened this issue May 16, 2024 · 0 comments · Fixed by #1226
Labels
bug Something isn't working

Comments

@euphemism
Copy link

Describe the bug

.env files with export prefixes on the lines do not get parsed and injected into the environment.

This is a pattern that people use so that they can simply run source on .env. I came across this while trying to onboard an existing project at work with devenv.

To reproduce

https://gist.github.com/euphemism/25e21226f39ce33ebef940736e2a4167

An empty line is printed instead of bar.

Version

devenv 1.0.5 (aarch64-darwin)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant