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

Warn if .env file is loaded in and dotenv-load isn't explicitly set #925

Merged
merged 2 commits into from
Jul 28, 2021

Conversation

casey
Copy link
Owner

@casey casey commented Jul 28, 2021

If a .env file is found and loaded, but the dotenv-load setting hasn't been explicitly
set to true, print a warning to stderr. In approximately six months, dotenv-load will
change from defaulting to true to defaulting to false, which will be a potentially breaking
change in behavior for justfiles which elicit this warning.

See this issue for more details:

https://github.com/casey/just/issues/469

@casey casey enabled auto-merge (squash) July 28, 2021 07:28
@casey casey merged commit 1f20ca6 into master Jul 28, 2021
@casey casey deleted the dotenv-load-warning branch July 28, 2021 07:33
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.

1 participant