Skip to content

Commit 832871c

Browse files
authored
bot: Fix misusage of report in covdir_paths. (#37)
1 parent 84720dc commit 832871c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bot/code_coverage_bot/codecov.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def go_from_trigger_mozilla_central(self):
150150
output = self.generate_covdir()
151151

152152
report = json.loads(output)
153-
paths = uploader.covdir_paths(output)
153+
paths = uploader.covdir_paths(report)
154154
expected_extensions = ['.js', '.cpp']
155155
for extension in expected_extensions:
156156
assert any(path.endswith(extension) for path in paths), \

0 commit comments

Comments
 (0)