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

Add only_summary Input Option #49

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zolex
Copy link

@zolex zolex commented Aug 24, 2021

The new only_summary Input option is false by default, which results in the original behavior.
If set to true it will not show any files but only the "All Files" coverage.

Copy link
Contributor

@hannseman hannseman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this PR and sorry for the late reply. To accept this PR a test using this option is needed.

status(fileTotal),
showMissing ? (fileMissing ? `\`${fileMissing}\`` : " ") : undefined,
]);
if (false === onlySummary) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can add this check to the report.files.filter instead, like !onlySummary &&..

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.

None yet

2 participants