forked from minecrust/hopper
Update confy
This commit is contained in:
parent
132d82680b
commit
5c05436d02
|
@ -6,7 +6,7 @@ edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0"
|
anyhow = "1.0"
|
||||||
confy = "0.4"
|
confy = "0.5"
|
||||||
console = "0.15.0"
|
console = "0.15.0"
|
||||||
dialoguer = "0.9.0"
|
dialoguer = "0.9.0"
|
||||||
env_logger = "0.9.0"
|
env_logger = "0.9.0"
|
||||||
|
|
|
@ -71,7 +71,7 @@ impl Args {
|
||||||
if let Some(config_path) = &self.config {
|
if let Some(config_path) = &self.config {
|
||||||
confy::load_path(config_path)
|
confy::load_path(config_path)
|
||||||
} else {
|
} else {
|
||||||
confy::load("hopper")
|
confy::load("hopper", None)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue