mirror of
https://github.com/crate-ci/typos.git
synced 2026-10-18 18:05:11 +02:00
fix(config): Respect file's defaults
This commit is contained in:
@@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user