-
Notifications
You must be signed in to change notification settings - Fork 50
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
recursively load .env files up to root #36
base: master
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## master #36 +/- ##
========================================
+ Coverage 77.29% 83.2% +5.9%
========================================
Files 18 13 -5
Lines 740 387 -353
========================================
- Hits 572 322 -250
+ Misses 168 65 -103
Continue to review full report at Codecov.
|
@@ -12,11 +12,23 @@ fn test_dotenv_iter() { | |||
|
|||
let iter = dotenv_iter().unwrap(); | |||
|
|||
assert!(env::var("TESTKEY").is_err()); | |||
iter.filter_map(Result::ok).any(|(key, value)| key == "TESTKEY" && value == "test_val"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this meant to be an assertion?
Any updates on this? I'd love to have this feature. |
@andrewbanchich Sorry, I've been unable to work on my open source projects for a while. I should be in a place to work on them again in a few weeks. |
Okay, no worries! Thanks for the update. |
Closes #14