repochecker: fix numerous general issues with exception inheritance

This commit is contained in:
nemunaire 2022-11-03 17:49:06 +01:00
commit f9e9bfcb75
4 changed files with 15 additions and 4 deletions

View file

@ -60,9 +60,10 @@ func (c *CheckExceptions) Filter2ndCol(str string) *CheckExceptions {
continue
}
if eval, err := filepath.Match(cols[1], str); err == nil && eval {
if cols[1] == "spelling" {
ret[k] = v
} else if eval, err := filepath.Match(cols[1], str); err == nil && eval {
ret[k] = v
break
}
}