Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix dotenv file loading order #9037

Merged
merged 4 commits into from
May 29, 2020
Merged

Conversation

Timer
Copy link
Contributor

@Timer Timer commented May 20, 2020

This fixes the loading priority order to match that of the dotenv spec:
https://github.com/bkeepers/dotenv#what-other-env-files-can-i-use

@ianschmitz
Copy link
Contributor

Thanks Joe. Looks like a test needs to be updated.

@mrmckeb mrmckeb merged commit 26a1c7f into facebook:master May 29, 2020
@Timer Timer deleted the hotfix/dotenv-order branch May 29, 2020 15:16
@Timer
Copy link
Contributor Author

Timer commented May 29, 2020

Thanks @mrmckeb for handling the test updates!

rfreling pushed a commit to rfreling/create-react-app that referenced this pull request May 30, 2020
* Fix dotenv file loading order

* tests: fix failing env tests

* tests: fix more failing tests

Co-authored-by: Brody McKee <mrmckeb@hotmail.com>
@mrmckeb
Copy link
Contributor

mrmckeb commented May 31, 2020

No problem, I know you're super busy.

victor-travelperk pushed a commit to travelperk/create-react-app that referenced this pull request Jun 8, 2020
* Fix dotenv file loading order

* tests: fix failing env tests

* tests: fix more failing tests

Co-authored-by: Brody McKee <mrmckeb@hotmail.com>
@lock lock bot locked and limited conversation to collaborators Jun 24, 2020
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants