Skip to content

Commit 9d60073

Browse files
authored
fix: remove description field requirement (#30)
Fixes: #27 Related: #22 BREAKING CHANGE
1 parent e971cb8 commit 9d60073

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/clean.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module.exports = function clean (doc) {
1818
doc = normalize(doc)
1919
// add props from lastest release that are absent from the top level
2020
pkg = Object.assign({}, doc.versions[latest], doc)
21-
} else if (doc.name && doc.description) {
21+
} else if (doc.name) {
2222
// this is a basic object, i.e. a package.json file
2323
pkg = doc
2424
} else {

0 commit comments

Comments
 (0)