Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions apps/codecov-api/services/comparison.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,8 @@
@classmethod
def segments(cls, file_comparison):
lines = file_comparison.lines
if lines is None:
return []

Check warning on line 401 in apps/codecov-api/services/comparison.py

View check run for this annotation

Codecov Notifications / codecov/patch

apps/codecov-api/services/comparison.py#L401

Added line #L401 was not covered by tests

# line numbers of interest (i.e. coverage changed or code changed)
line_numbers = []
Expand Down