[BUG] npm fund <package>
errors when "funding" is a string
#498
Labels
Projects
npm fund <package>
errors when "funding" is a string
#498
What / Why
While #472 has fixed the
npm fund
command not showing packages where "funding" is a string, thenpm fund <package-name>
command doesn't work for these.In the screenshot below
glob
got opened, the other one didn't.Expected Behavior
npm fund <package>
works regardless of the funding property being a shorthand string or an object.The text was updated successfully, but these errors were encountered: