We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92403b4 commit 2a40d9bCopy full SHA for 2a40d9b
1 file changed
misc/python/materialize/cli/ci_coverage_pr_report.py
@@ -50,12 +50,12 @@ def find_modified_lines() -> Coverage:
50
line = line_raw.decode("utf-8")
51
# +++ b/src/adapter/src/coord/command_handler.rs
52
if line.startswith("+++"):
53
+ file = line.removeprefix("+++ b/")
54
if not line.endswith(".rs"):
55
continue
- file = line.removeprefix("+++ b/")
56
coverage[file] = OrderedDict()
57
# @@ -641,7 +640,6 @@ impl Coordinator {
58
- elif line.startswith("@@ ") and file:
+ elif line.startswith("@@ ") and file in coverage:
59
# We only care about the second value ("+640,6" in the example),
60
# which contains the line number and length of the modified block
61
# in new code state.
0 commit comments