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

Handle missing license when showing license summary #10537

Merged
merged 1 commit into from
Feb 16, 2022

Conversation

gzumba
Copy link
Contributor

@gzumba gzumba commented Feb 15, 2022

Currently the LicensesCommand fails, when getting the summary (-f summary) and one of the packages is missing the license information.
This fixes the issue by simply using 'none' as the license, as is used in the text output already.

Fixes the issue of license summary command aborting when a package is
missing license information.
@Seldaek Seldaek added this to the 2.2 milestone Feb 16, 2022
@Seldaek Seldaek added the Bug label Feb 16, 2022
@Seldaek Seldaek merged commit 8756f54 into composer:2.2 Feb 16, 2022
@Seldaek
Copy link
Member

Seldaek commented Feb 16, 2022

Thanks

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

Successfully merging this pull request may close these issues.

2 participants