Skip to content

Commit

Permalink
Update lcovjson.go
Browse files Browse the repository at this point in the history
  • Loading branch information
paulofaria authored and noelia-lencina committed Dec 14, 2020
1 parent d16108a commit 916eb0c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions formatters/lcovjson/lcovjson.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,6 @@ func (r Formatter) Format() (formatters.Report, error) {

for _, function := range target.Functions {
for _, filename := range function.Filenames {
// Ignore dependencies.
if strings.Contains(filename, ".build/checkouts") {
logrus.Warnf("Ignored dependency file at path \"%s\".", filename)
continue
}

regionsByFilename[filename] = append(regionsByFilename[filename], function.Regions...)
}
}
Expand Down

0 comments on commit 916eb0c

Please sign in to comment.