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

Added a null check for the htmlDir in PyCoverageTask #325

Merged
merged 1 commit into from
Dec 5, 2019

Conversation

elautz
Copy link
Contributor

@elautz elautz commented Nov 22, 2019

Handling of an edge case: If the user configures the project
to run covergae but there is no coverage output (i.e. no
coverage to report), the htmlDir parsed from the output will
ultimately be null, and thus the call to project.file(htmlDir)
fails with IllegalArgumentException: path may not be null or
empty string. path='null'

@elautz elautz force-pushed the coverage-null-path branch from ab31c19 to 378bb6f Compare December 3, 2019 18:04
Handling of an edge case: If the user configures the project
to run covergae but there is no coverage output (i.e. no
coverage to report), the htmlDir parsed from the output will
ultimately be null, and thus the call to project.file(htmlDir)
fails with IllegalArgumentException: path may not be null or
empty string. path='null'
@elautz elautz force-pushed the coverage-null-path branch from 378bb6f to cb03227 Compare December 3, 2019 18:11
@zvezdan zvezdan merged commit 90e3f5f into linkedin:master Dec 5, 2019
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 this pull request may close these issues.

2 participants