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

Fix bug with priorities not getting saved #119

Merged
merged 1 commit into from
Sep 17, 2023
Merged

Fix bug with priorities not getting saved #119

merged 1 commit into from
Sep 17, 2023

Conversation

dgattey
Copy link
Contributor

@dgattey dgattey commented Sep 17, 2023

I was working with a repo that has both a .env and a .env.development.local today and couldn't figure out why calling .load() or .config() was giving me values from .env every time until I deleted the file. Turns out the code that walks the priorities wasn't working – the current priority object was never set, so the file order is all that was determining what was getting picked. This edit fixed it for me locally.

@marcocesarato marcocesarato merged commit c286a38 into marcocesarato:master Sep 17, 2023
5 checks passed
@marcocesarato
Copy link
Owner

Thank you so much for taking the time to investigate and fix this issue! It's greatly appreciated.

@dgattey dgattey deleted the dgattey--fix-priority branch September 18, 2023 22:01
@dgattey dgattey restored the dgattey--fix-priority branch September 18, 2023 22:01
@dgattey dgattey deleted the dgattey--fix-priority branch September 18, 2023 22:02
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.

2 participants