Skip to content

Commit

Permalink
fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
corneliusroemer committed Nov 9, 2024
1 parent 8aa5ead commit e596b50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/diff_jsons.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

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

0 comments on commit e596b50

Please sign in to comment.