We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8aa5ead commit e596b50Copy full SHA for e596b50
scripts/diff_jsons.py
@@ -24,7 +24,7 @@
24
25
# Test for most fatal errors in regex path usage
26
# Exclude regexes should never match `'`, otherwise the diff is always going to pass
27
- for regex in args.exclude_regex_paths:
+ for regex in args.exclude_regex_paths or []:
28
result = re.compile(regex).search("'")
29
if result is not None:
30
print(
0 commit comments