jacoco-report icon indicating copy to clipboard operation
jacoco-report copied to clipboard

TypeError when xml report is empty

Open arkadiuszpalka opened this issue 1 year ago • 0 comments

Version: madrapps/[email protected] empty.xml:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?><!DOCTYPE report PUBLIC "-//JACOCO//DTD Report 1.1//EN" "report.dtd"><report name=":subproject:subproject2"/>

When one of the modules does not data to present, the report is empty but it seems like the pipeline is passing with an error but do not create comment in PR.

Error: TypeError: Cannot read properties of undefined (reading 'find')

arkadiuszpalka avatar Aug 10 '23 09:08 arkadiuszpalka