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

v12 does not support reverse order expansion #134

Closed
sapphi-red opened this issue Nov 19, 2024 · 2 comments
Closed

v12 does not support reverse order expansion #134

sapphi-red opened this issue Nov 19, 2024 · 2 comments

Comments

@sapphi-red
Copy link

This test for #117 no longer passes with v12. (reproduction)

Was this support removed intentionally? or is this a regression?

@sapphi-red sapphi-red changed the title v12 does not support reverse expansion v12 does not support reverse order expansion Nov 19, 2024
@motdotla
Copy link
Owner

intentionally. it never should have - it does not work anywhere else - docker-compose, bash, etc. it happened to work because of the nature of dotenv-expand first waiting for dotenv.config() to load to process.env - so essentially all values 'exist' already.

@sapphi-red
Copy link
Author

Thank you for the quick response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants