mirror of
https://github.com/crate-ci/typos.git
synced 2025-02-13 08:40:29 -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> {
|
fn walk(&self) -> Option<&dyn WalkSource> {
|
||||||
Some(&self.files)
|
Some(&self.files)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fn default(&self) -> Option<&dyn FileSource> {
|
||||||
|
Some(&self.default)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Clone, Default, serde::Serialize, serde::Deserialize)]
|
#[derive(Debug, Clone, Default, serde::Serialize, serde::Deserialize)]
|
||||||
|
|
Loading…
Add table
Reference in a new issue