fix(config): Respect file's defaults

This commit is contained in:
Ed Page 2020-10-28 20:58:48 -05:00
parent 78d76bcbc6
commit 2e6cd39781

View file

@ -152,6 +152,10 @@ impl ConfigSource for Config {
fn walk(&self) -> Option<&dyn WalkSource> {
Some(&self.files)
}
fn default(&self) -> Option<&dyn FileSource> {
Some(&self.default)
}
}
#[derive(Debug, Clone, Default, serde::Serialize, serde::Deserialize)]