@@ -50,13 +50,15 @@ def _find_coverage(self, report, path):
50
50
parts = path .split ("/" )
51
51
for part in filter (None , parts ):
52
52
if part not in report ["children" ]:
53
- # Only send warning for supported extensions
54
- if self .is_supported_extension (path ):
55
- logger .warn ("Path {} not found in report" . format ( path ) )
56
- else :
53
+ # Only send warning for non 3rd party + supported extensions
54
+ if self .is_third_party (path ):
55
+ logger .info ("Path not found in report for third party" , path = path )
56
+ elif not self . is_supported_extension ( path ) :
57
57
logger .info (
58
58
"Path not found in report for unsupported extension" , path = path
59
59
)
60
+ else :
61
+ logger .warn ("Path not found in report" , path = path )
60
62
return
61
63
report = report ["children" ][part ]
62
64
@@ -146,11 +148,6 @@ def generate(self, report, changesets):
146
148
# For each file...
147
149
for path in changeset ["files" ]:
148
150
149
- # Skip third party files
150
- if self .is_third_party (path ):
151
- logger .info ("Skip third party path" , path = path )
152
- continue
153
-
154
151
# Retrieve the coverage data.
155
152
coverage_record = self ._find_coverage (report , path )
156
153
if coverage_record is None :
0 commit comments