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 doesn't support non-root-level .env files #1208

Open
euphemism opened this issue May 16, 2024 · 2 comments
Open

dotenv integration doesn't support non-root-level .env files #1208

euphemism opened this issue May 16, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@euphemism
Copy link

Describe the bug

I am unable to supply a path to a .env file as the value for dotenv.filename. The following error is printed:

error:
error: Failed assertions:
- The dotenv filename must start with '.env'.

To reproduce

https://gist.github.com/euphemism/5fec2e49bf3ec99155452ff9861cd612

Version

devenv 1.0.5 (aarch64-darwin)

@euphemism euphemism added the bug Something isn't working label May 16, 2024
@domenkozar
Copy link
Member

We can't really support .env in subdirectories at the moment without sacrificing performance.

@euphemism
Copy link
Author

Interesting. Why is that?

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

No branches or pull requests

2 participants