Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
install: Clean up after read-package-json's _id mess
Browse files Browse the repository at this point in the history
  • Loading branch information
iarna committed Jul 1, 2015
1 parent e06023a commit b6948fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/install/node.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ var reset = exports.reset = function (node) {
})
child.requiredBy = []
child.package._phantomChildren = {}
// FIXME: cleaning up after read-package-json's mess =(
if (child.package._id === '@') delete child.package._id
child.missingDeps = {}
child.children.forEach(reset)
if (!child.package.version) child.package.version = ''
Expand Down

0 comments on commit b6948fb

Please sign in to comment.