summaryrefslogtreecommitdiff
path: root/deps/npm/lib/install/inflate-bundled.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/lib/install/inflate-bundled.js')
-rw-r--r--deps/npm/lib/install/inflate-bundled.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/npm/lib/install/inflate-bundled.js b/deps/npm/lib/install/inflate-bundled.js
index 70da583df4..66bbb44a33 100644
--- a/deps/npm/lib/install/inflate-bundled.js
+++ b/deps/npm/lib/install/inflate-bundled.js
@@ -1,11 +1,11 @@
'use strict'
-var validate = require('aproba')
+
var childPath = require('../utils/child-path.js')
var reset = require('./node.js').reset
module.exports = function inflateBundled (bundler, parent, children) {
- validate('OOA', arguments)
children.forEach(function (child) {
+ if (child.fromBundle === bundler) return
reset(child)
child.fromBundle = bundler
child.isInLink = bundler.isLink