We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d6cd96 commit 749dc77Copy full SHA for 749dc77
1 file changed
src/main.rs
@@ -69,7 +69,7 @@ pub struct Main {
69
70
#[tokio::main]
71
async fn main() {
72
- if let Err(_) = dotenvy::dotenv() {
+ if dotenvy::dotenv().is_err() {
73
info!("No .env file found, using only environment variables")
74
}
75
0 commit comments