From 2b35ba83762407ebec8eb494582908b14dcdb025 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Wed, 11 Apr 2018 11:53:33 -0400 Subject: [PATCH] save package_manager into config.json if set in setup.json --- src/install.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/install.js b/src/install.js index 0bb0c989be..2e86d26e62 100644 --- a/src/install.js +++ b/src/install.js @@ -157,6 +157,11 @@ function completeConfigSetup(config, next) { } } + // Add package_manager object if set + if (nconf.get('package_manager')) { + config.package_manager = nconf.get('package_manager'); + } + nconf.overrides(config); async.waterfall([ function (next) {