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
234 stars 45 forks source link

Update index.js #17

Closed dzablo closed 6 years ago

dzablo commented 6 years ago

fix the TypeError: Cannot convert undefined or null to object at DirectoryReader. (~/.nvm/versions/node/v6.10.2/lib/node_modules/npm-license-crawler/lib/index.js:23:85) at emitThree (events.js:116:13) at DirectoryReader.emit (events.js:194:7) at ~/.nvm/versions/node/v6.10.2/lib/node_modules/npm-license-crawler/lib/directoryreader.js:145:26 at FSReqWrap.oncomplete (fs.js:123:15)

mwittig commented 6 years ago

Thank you very much for your contribution!