Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
shrinkwrap: Stop special-casing fake children in shrinkwraps
  • Loading branch information
iarna committed May 24, 2018
1 parent 3f2e306 commit 442d2484f686e3a371b07f8473a17708f84d9603
Showing with 0 additions and 4 deletions.
  1. +0 −4 lib/shrinkwrap.js
@@ -107,10 +107,6 @@ function shrinkwrapDeps (deps, top, tree, seen) {
if (seen.has(tree)) return
seen.add(tree)
sortModules(tree.children).forEach(function (child) {
if (child.fakeChild) {
deps[moduleName(child)] = child.fakeChild
return
}
var childIsOnlyDev = isOnlyDev(child)
var pkginfo = deps[moduleName(child)] = {}
var requested = getRequested(child) || child.package._requested || {}

0 comments on commit 442d248

Please sign in to comment.