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.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/deps/npm/lib/install/inflate-bundled.js b/deps/npm/lib/install/inflate-bundled.js
index c597e7a566..f91e9112b9 100644
--- a/deps/npm/lib/install/inflate-bundled.js
+++ b/deps/npm/lib/install/inflate-bundled.js
@@ -1,10 +1,12 @@
'use strict'
var validate = require('aproba')
var childPath = require('../utils/child-path.js')
+var reset = require('./node.js').reset
module.exports = function inflateBundled (parent, children) {
validate('OA', arguments)
children.forEach(function (child) {
+ reset(child)
child.fromBundle = true
child.parent = parent
child.path = childPath(parent.path, child)