Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError when xml report is empty #64

Closed
arkadiuszpalka opened this issue Aug 10, 2023 · 0 comments · Fixed by #128
Closed

TypeError when xml report is empty #64

arkadiuszpalka opened this issue Aug 10, 2023 · 0 comments · Fixed by #128
Assignees
Milestone

Comments

@arkadiuszpalka
Copy link

Version: madrapps/jacoco-report@v1.6.1
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')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants