mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-22 00:12:09 +03:00
fix check_strings to support null values
This commit is contained in:
parent
e1430bce50
commit
dc8f314fc9
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user