Skip to content

Commit 8f29aa1

Browse files
committed
fix: Fix a typo that caused wrong control flow
This was introduced in daf3128. The `if` should have been an `elif`, otherwise it causes the else further down the file to be skipped.
1 parent 82c258a commit 8f29aa1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/shared/logs/batches.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def batch_events(
9898
package_names=[event.package_attribute],
9999
)
100100

101-
if isinstance(event, RawReferenceEvent):
101+
elif isinstance(event, RawReferenceEvent):
102102
if (
103103
isinstance(accumulator, FoldedReferenceEvent)
104104
and event.action == accumulator.action

0 commit comments

Comments
 (0)