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

Remove ambiguity with --error-only flag #66

Merged
merged 3 commits into from
Jul 4, 2024

Conversation

Fedoop1
Copy link

@Fedoop1 Fedoop1 commented Jul 3, 2024

Update output formatters to limit output to packages with errors only.

For the table formatter for a project without errors it will print empty table like:
+---------+---------+----------------------------+--------------------+-------------+-----------+---------+---------------------+
| Package | Version | License Information Origin | License Expression | License Url | Copyright | Authors | Package Project Url |
+---------+---------+----------------------------+--------------------+-------------+-----------+---------+---------------------+
+---------+---------+----------------------------+--------------------+-------------+-----------+---------+---------------------+
For the json formatter it will print an empty array []

Fixes #63

@sensslen sensslen self-requested a review July 3, 2024 16:54
@Fedoop1 Fedoop1 changed the title Fedoop/update error only output Remove ambiguity with --error-only flag Jul 3, 2024
.github/workflows/action.yml Outdated Show resolved Hide resolved
@Fedoop1 Fedoop1 force-pushed the fedoop/update-error-only-output branch 2 times, most recently from 5a568e6 to 5a5a0ee Compare July 3, 2024 21:51
@Fedoop1 Fedoop1 force-pushed the fedoop/update-error-only-output branch from 5a5a0ee to cfdcf4d Compare July 3, 2024 21:52
@sensslen
Copy link
Owner

sensslen commented Jul 4, 2024

Thank you very much for your contribution. It's much appreciated!

@sensslen sensslen merged commit 696110a into sensslen:main Jul 4, 2024
20 checks passed
@Fedoop1
Copy link
Author

Fedoop1 commented Jul 4, 2024

Thanks. What is the ETA for the next release? I'll be glad to benefit from these updates on my proj.

@sensslen
Copy link
Owner

sensslen commented Jul 4, 2024

I just kicked off a release

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.

Fix ambiguity with --error-only flag
2 participants