From dd46765154ada709750947de6ffcd9ed21b237a5 Mon Sep 17 00:00:00 2001 From: "Michael Bradley, Jr" Date: Wed, 25 Jul 2018 19:29:41 -0500 Subject: [PATCH] env options property doesn't need to be passed to ProcessLauncher --- lib/pipeline/pipeline.js | 1 - lib/process/processLauncher.js | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/pipeline/pipeline.js b/lib/pipeline/pipeline.js index f5051ea82..4b9170d64 100644 --- a/lib/pipeline/pipeline.js +++ b/lib/pipeline/pipeline.js @@ -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, diff --git a/lib/process/processLauncher.js b/lib/process/processLauncher.js index 8487e8a43..9c2c1b1d1 100644 --- a/lib/process/processLauncher.js +++ b/lib/process/processLauncher.js @@ -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;