Skip to content

Commit e596b50

Browse files
fix type error
1 parent 8aa5ead commit e596b50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/diff_jsons.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
# Test for most fatal errors in regex path usage
2626
# Exclude regexes should never match `'`, otherwise the diff is always going to pass
27-
for regex in args.exclude_regex_paths:
27+
for regex in args.exclude_regex_paths or []:
2828
result = re.compile(regex).search("'")
2929
if result is not None:
3030
print(

0 commit comments

Comments
 (0)