diff options
Diffstat (limited to 'src/cli.rs')
-rw-r--r-- | src/cli.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ use crate::{paths::PathEntry, Config}; use clap::{Args, Parser}; -use figment::{providers::Serialized, value, Metadata, Profile, Provider}; +use figment::{value, Metadata, Profile, Provider}; use serde::Serialize; use std::path::PathBuf; use tracing::Level; @@ -41,7 +41,7 @@ impl Provider for Cli { } fn data(&self) -> figment::error::Result<value::Map<Profile, value::Dict>> { - Serialized::defaults(Self::default()).data() + Config::from(self.to_owned()).data() } } |