mirror of
https://github.com/crate-ci/typos.git
synced 2026-10-17 09:35:11 +02:00
fix(vars): Drop unverified entries
This commit is contained in:
+7729
-133656
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
|
||||
|
||||
Reference in New Issue
Block a user