From cec5be5427f7f5106a905de8630e1243e9b36ef4 Mon Sep 17 00:00:00 2001 From: Rebecca Turner Date: Thu, 1 Feb 2018 15:20:27 -0800 Subject: [PATCH] prune: Fix bug where prune --production would remove dev deps from the lock file --- lib/prune.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/prune.js b/lib/prune.js index 8d642e5b27928..010e471e4b328 100644 --- a/lib/prune.js +++ b/lib/prune.js @@ -65,3 +65,4 @@ Pruner.prototype.loadAllDepsIntoIdealTree = function (cb) { Pruner.prototype.runPreinstallTopLevelLifecycles = function (cb) { cb() } Pruner.prototype.runPostinstallTopLevelLifecycles = function (cb) { cb() } +Pruner.prototype.saveToDependencies = function (cb) { cb() }