mirror of
https://github.com/crate-ci/typos.git
synced 2024-12-22 23:52:12 -05:00
fix(config): Overlay default/overrides with type-config
This commit is contained in:
parent
6eccb60552
commit
83dc9dcb5f
1 changed files with 5 additions and 1 deletions
|
@ -194,7 +194,11 @@ impl<'s> ConfigEngine<'s> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let type_config = self.init_file_config(type_engine.engine);
|
let mut engine = default.clone();
|
||||||
|
engine.update(&type_engine.engine);
|
||||||
|
engine.update(&overrides);
|
||||||
|
|
||||||
|
let type_config = self.init_file_config(engine);
|
||||||
types.insert(type_name, type_config);
|
types.insert(type_name, type_config);
|
||||||
}
|
}
|
||||||
default.update(&overrides);
|
default.update(&overrides);
|
||||||
|
|
Loading…
Reference in a new issue