Permalink
Browse files

Skip unknown files and warn (#382)

  • Loading branch information...
ale7714 committed Jan 18, 2019
1 parent b533c61 commit 813301b8b29a692ab664c283a8e49563aae4a4a5
Showing with 2 additions and 1 deletion.
  1. +2 −1 formatters/jacoco/jacoco.go
@@ -70,7 +70,8 @@ func (r Formatter) Format() (formatters.Report, error) {
}
sf, err := formatters.NewSourceFile(absolutePath, gitHead)
if err != nil {
return rep, errors.WithStack(err)
logrus.Warnf("Couldn't find file for path \"%s\" from %s coverage data. Ignore if the path doesn't correspond to an existent file in your repo.", absolutePath, r.Path)
continue
}
for _, l := range xmlSF.Lines {
for num < l.Num {

0 comments on commit 813301b

Please sign in to comment.