diff --git a/lib/licensify.js b/lib/licensify.js index ec4d430..86b7375 100644 --- a/lib/licensify.js +++ b/lib/licensify.js @@ -194,7 +194,7 @@ module.exports = function licensify (b, opts) { } b.on('package', function (pkg) { - if (alreadyScanned(pkg)) { + if (!pkg.name || alreadyScanned(pkg)) { return; }