Skip to content

Commit e88762c

Browse files
committed
chore: use dotenvy
1 parent 934ee3e commit e88762c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use crate::polyglot::PATH_SEPARATOR;
55
use crate::runners::justfile::init_justfile;
66
use crate::runners::RUNNERS;
77
use colored::Colorize;
8-
use dotenv::dotenv;
8+
use dotenvy::dotenv;
99
use std::collections::HashSet;
1010
use std::env;
1111
use std::fs::Permissions;
@@ -736,10 +736,10 @@ fn format_description(description: &str) -> String {
736736
fn load_env() {
737737
dotenv().ok();
738738
if env::current_dir().unwrap().join(".flaskenv").exists() {
739-
dotenv::from_filename(".flaskenv").ok();
739+
dotenvy::from_filename(".flaskenv").ok();
740740
}
741741
if let Ok(node_env) = env::var("NODE_ENV") {
742-
dotenv::from_filename(format!(".env.{}", node_env)).ok();
742+
dotenvy::from_filename(format!(".env.{}", node_env)).ok();
743743
}
744744
}
745745

0 commit comments

Comments
 (0)