diff --git a/index.js b/index.js index 04d2161cbd2d92c743f464e3ae1695f385768cfb..711bcd5a1a2ce1cf91cc91be002226dd877a91a3 100644 --- a/index.js +++ b/index.js @@ -222,7 +222,7 @@ function Stack(dependencies) { } // First possible class of commands: post-config if (command.onConfiguredExecute) { - return yield command.onConfiguredExecute(server, conf, program, params, wizardTasks); + return yield command.onConfiguredExecute(server, conf, program, params, wizardTasks, that); } // Second possible class of commands: post-service yield server.initDAL(); @@ -284,7 +284,7 @@ function Stack(dependencies) { // for (const module of streams.process) module.unpipe(); // // Stop reading from global PROCESS // PROCESS.unpipe(); - })); + }), that); } catch (e) { server.disconnect(); throw e;