We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39d7281 commit b3f9a09Copy full SHA for b3f9a09
src/env.rs
@@ -81,7 +81,7 @@ impl Source for Environment {
81
82
for (key, value) in env::vars() {
83
// Treat empty environment variables as unset
84
- if self.ignore_empty && value == "" {
+ if self.ignore_empty && value.is_empty() {
85
continue;
86
}
87
0 commit comments