From 5c05436d02c69124b3c50155ad30923cc7660006 Mon Sep 17 00:00:00 2001 From: "[ ]" Date: Sun, 25 Dec 2022 01:55:31 +0000 Subject: [PATCH] Update confy --- Cargo.toml | 2 +- src/config.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) } } }