Skip to content

Commit

Permalink
fix: remove description field requirement (#30)
Browse files Browse the repository at this point in the history
Fixes: #27

Related: #22

BREAKING CHANGE
  • Loading branch information
feross authored Mar 29, 2020
1 parent e971cb8 commit 9d60073
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/clean.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module.exports = function clean (doc) {
doc = normalize(doc)
// add props from lastest release that are absent from the top level
pkg = Object.assign({}, doc.versions[latest], doc)
} else if (doc.name && doc.description) {
} else if (doc.name) {
// this is a basic object, i.e. a package.json file
pkg = doc
} else {
Expand Down

0 comments on commit 9d60073

Please sign in to comment.