env options property doesn't need to be passed to ProcessLauncher

This commit is contained in:
Michael Bradley, Jr 2018-07-25 19:29:41 -05:00 committed by Iuri Matias
parent ed5f18e579
commit 250d80e0ff
2 changed files with 0 additions and 2 deletions

View File

@ -99,7 +99,6 @@ class Pipeline {
function runWebpack(next) {
let built = false;
const webpackProcess = new ProcessLauncher({
env: self.env,
modulePath: utils.joinPath(__dirname, 'webpackProcess.js'),
logger: self.logger,
events: self.events,

View File

@ -14,7 +14,6 @@ class ProcessLauncher {
* @return {ProcessLauncher} The ProcessLauncher instance
*/
constructor(options) {
this.env = options.env;
this.name = path.basename(options.modulePath);
this.process = child_process.fork(options.modulePath);
this.logger = options.logger;