We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e971cb8 commit 9d60073Copy full SHA for 9d60073
lib/clean.js
@@ -18,7 +18,7 @@ module.exports = function clean (doc) {
18
doc = normalize(doc)
19
// add props from lastest release that are absent from the top level
20
pkg = Object.assign({}, doc.versions[latest], doc)
21
- } else if (doc.name && doc.description) {
+ } else if (doc.name) {
22
// this is a basic object, i.e. a package.json file
23
pkg = doc
24
} else {
0 commit comments