mirror of https://github.com/embarklabs/embark.git
env options property doesn't need to be passed to ProcessLauncher
This commit is contained in:
parent
ed5f18e579
commit
250d80e0ff
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue