Skip to content

Commit e01b41a

Browse files
fix ignore logic (#41403)
Co-authored-by: catalinaperalta <[email protected]>
1 parent 43a40d5 commit e01b41a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/breaking_changes_checker/breaking_changes_tracker.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,8 @@ def match(self, bc, ignored):
619619
if bc == ignored:
620620
return True
621621
for b, i in zip(bc, ignored):
622-
if i == "*":
622+
if i == "*" or i is None:
623+
# If the ignore rule is a wildcard or None, we skip this part of the check
623624
continue
624625
if isinstance(i, RegexSuppression) and b is not None:
625626
if i.match(b):

0 commit comments

Comments
 (0)