mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-22 00:51:11 -05:00
fix(config): Respect file's defaults
This commit is contained in:
parent
78d76bcbc6
commit
2e6cd39781
1 changed files with 4 additions and 0 deletions
|
@ -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)]
|
||||
|
|
Loading…
Reference in a new issue