Removes the TUI in favor of event based logging #15
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ pub(crate) struct Config {
|
|||
}
|
||||
|
||||
impl Config {
|
||||
pub(crate) fn load() -> Result<Self, String> {
|
||||
pub(crate) fn load() -> Self {
|
||||
let cfg: Self = match confy::load(env!("CARGO_PKG_NAME"), "config") {
|
||||
Ok(data) => data,
|
||||
Err(e) => panic!("config.toml not found: {e}"),
|
||||
|
@ -36,7 +36,7 @@ impl Config {
|
|||
panic!("'Description' type Post Body only supported for Volumes!")
|
||||
}
|
||||
});
|
||||
Ok(cfg)
|
||||
cfg
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue