We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8279be2 commit ffd1aa1Copy full SHA for ffd1aa1
coverage_comment/coverage.py
@@ -161,8 +161,8 @@ def _make_coverage_info(data: dict) -> CoverageInfo:
161
),
162
missing_lines=data["missing_lines"],
163
excluded_lines=data["excluded_lines"],
164
- num_branches=data.get("num_branches"),
165
- num_partial_branches=data.get("num_partial_branches"),
+ num_branches=data.get("num_branches", 0),
+ num_partial_branches=data.get("num_partial_branches", 0),
166
covered_branches=data.get("covered_branches", 0),
167
missing_branches=data.get("missing_branches", 0),
168
)
0 commit comments