diff --git a/Cargo.toml b/Cargo.toml index be435aa..fa0a4ef 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" [dependencies] anyhow = "1.0" -confy = "0.4" +confy = "0.5" console = "0.15.0" dialoguer = "0.9.0" env_logger = "0.9.0" diff --git a/src/config.rs b/src/config.rs index 8ba1f47..3f0b15e 100644 --- a/src/config.rs +++ b/src/config.rs @@ -71,7 +71,7 @@ impl Args { if let Some(config_path) = &self.config { confy::load_path(config_path) } else { - confy::load("hopper") + confy::load("hopper", None) } } }