mwittig / npm-license-crawler

Analyzes license information for multiple node.js modules (package.json files) as part of your software project.
BSD 3-Clause "New" or "Revised" License
233 stars 45 forks source link

Fix namespaced packages when using omitVersion #25

Closed janicduplessis closed 5 years ago

janicduplessis commented 6 years ago

Using split('@') doesn't work for namespaced packages, just use the same packageName variable instead that already handles removing the version properly.