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

fix: fund with multiple funding sources #1717

Conversation

ruyadorno
Copy link
Contributor

npm fund human output was appending any items that had multiple
funding sources to the current package title as comma-separated names.

This commit fixes the problem by properly selecting the first item of a
each funding element and only using that as its index for printing the
human output tree representation.

`npm fund` human output was appending any items that had multiple
funding sources to the current package title as comma-separated names.

This commit fixes the problem by properly selecting the first item of a
each funding element and only using that as its index for printing the
human output tree representation.
@ruyadorno ruyadorno requested a review from a team as a code owner August 24, 2020 20:14
@ruyadorno ruyadorno added Release 7.x work is associated with a specific npm 7 release semver:patch semver patch level for changes labels Aug 24, 2020
@ruyadorno ruyadorno added this to the OSS - Sprint 13 milestone Aug 24, 2020
isaacs pushed a commit that referenced this pull request Aug 25, 2020
`npm fund` human output was appending any items that had multiple
funding sources to the current package title as comma-separated names.

This commit fixes the problem by properly selecting the first item of a
each funding element and only using that as its index for printing the
human output tree representation.

PR-URL: #1717
Credit: @ruyadorno
Close: #1717
Reviewed-by: @isaacs
@ruyadorno ruyadorno closed this Aug 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Release 7.x work is associated with a specific npm 7 release semver:patch semver patch level for changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant