fix: if scm only is false, the file should still be included
Signed-off-by: Anton Ganhammar <ganhammar@gmail.com>
This commit is contained in:
@@ -75,9 +75,9 @@ export class Lcov implements Converter {
|
||||
|
||||
this.logger.debug(`matched ${file} to ${filename}`);
|
||||
|
||||
if (filename) {
|
||||
if (scmFiles.length === 0 || filename) {
|
||||
return {
|
||||
filename,
|
||||
filename: filename || file,
|
||||
lineHits: {},
|
||||
branchHits: {},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user