fix check_strings to support null values

This commit is contained in:
Adam Velebil 2023-11-02 14:56:17 +01:00
parent e1430bce50
commit dc8f314fc9
No known key found for this signature in database
GPG Key ID: C9B1E4A3CBBD2E10

View File

@ -72,6 +72,8 @@ def check_misc(k, v):
def lint_strings(strings, rules):
for k, v in strings.items():
if v is None:
continue
errs = []
errs.extend(
check_prefixes(