Skip to content

Commit

Permalink
Merge pull request #20 from pocotan001/hotfix/ignore-invalid-pkg
Browse files Browse the repository at this point in the history
Ignore invalid pkg
  • Loading branch information
twada authored Apr 21, 2017
2 parents 204c905 + 40fe814 commit 2b3ebc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/licensify.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ module.exports = function licensify (b, opts) {
}

b.on('package', function (pkg) {
if (alreadyScanned(pkg)) {
if (!pkg.name || alreadyScanned(pkg)) {
return;
}

Expand Down

0 comments on commit 2b3ebc6

Please sign in to comment.