mirror of
https://github.com/crate-ci/typos.git
synced 2024-12-26 09:32:11 -05:00
fix(vars): Drop unverified entries
This commit is contained in:
parent
21281cc0ae
commit
17b4d0267e
2 changed files with 7730 additions and 133656 deletions
File diff suppressed because it is too large
Load diff
|
@ -166,6 +166,7 @@ fn is_always_invalid(data: &[(&str, varcon::CategorySet)]) -> bool {
|
|||
fn entries() -> BTreeMap<String, varcon_core::Entry> {
|
||||
varcon::VARCON
|
||||
.iter()
|
||||
.filter(|c| c.verified)
|
||||
.flat_map(|c| c.entries.iter())
|
||||
.filter(|e| {
|
||||
e.variants
|
||||
|
|
Loading…
Reference in a new issue