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

Skip .env items which are set in environment #656

Merged
merged 3 commits into from
Jul 17, 2020
Merged

Skip .env items which are set in environment #656

merged 3 commits into from
Jul 17, 2020

Conversation

casey
Copy link
Owner

@casey casey commented Jul 17, 2020

If an environment variable exists with the same key as a variable from a
.env file, skip the variable from the .env file in favor fo the key
from the environment.

Fixes #642.

If an environment variable exists with the same key as a variable from a
`.env` file, skip the variable from the `.env` file in favor fo the key
from the environment.
@casey casey merged commit 837b6e6 into master Jul 17, 2020
@casey casey deleted the dotenv-override branch July 17, 2020 04:37
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

Successfully merging this pull request may close these issues.

Bug: env var priority: CLI value should override all others
1 participant