diff options
author | Rebecca Turner <me@re-becca.org> | 2015-04-25 20:38:24 +0300 |
---|---|---|
committer | Rebecca Turner <me@re-becca.org> | 2015-06-26 03:26:54 +0300 |
commit | eb03fd94b8c869b28042e97f04322d2e76d914c6 (patch) | |
tree | 00972b88c10aedd577f656ce5b0553aa9ec854f9 /lib/install.js | |
parent | 3d180ea9416a86a1200b0c4bf4be410bbc6c2e31 (diff) |
Explicitly recalculate ideal tree metadata prior to tree pruning
Diffstat (limited to 'lib/install.js')
-rw-r--r-- | lib/install.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/install.js b/lib/install.js index ef320da82..0c64bc68a 100644 --- a/lib/install.js +++ b/lib/install.js @@ -269,6 +269,8 @@ Installer.prototype.loadIdealTree = function (cb) { [this, this.loadShrinkwrap], [this, this.finishTracker, 'loadShrinkwrap'], [this, this.loadAllDepsIntoIdealTree], + [this, function (next) { recalculateMetadata(this.idealTree, log, next) } ], + [this, this.debugTree, 'idealTree:prePrune', 'idealTree'], [this, function (next) { next(pruneTree(this.idealTree)) } ] ], cb) } |