diff --git a/lib/core/processes/processWrapper.js b/lib/core/processes/processWrapper.js index 3b934a10..aa5efdd9 100644 --- a/lib/core/processes/processWrapper.js +++ b/lib/core/processes/processWrapper.js @@ -5,11 +5,6 @@ process.on('uncaughtException', function(e){ const constants = require('../../constants'); const Events = require('./eventsWrapper'); -// Set PWD to CWD since Windows doesn't have a value for PWD -if (!process.env.PWD) { - process.env.PWD = process.cwd(); -} - class ProcessWrapper { /** diff --git a/lib/pipeline/webpackProcess.js b/lib/pipeline/webpackProcess.js index cd837ee4..336f3c12 100644 --- a/lib/pipeline/webpackProcess.js +++ b/lib/pipeline/webpackProcess.js @@ -10,12 +10,6 @@ class WebpackProcess extends ProcessWrapper { constructor(options) { super(options); this.webpackConfigName = options.webpackConfigName; - if (!process.env.DAPP_PATH) { - process.env.DAPP_PATH = fs.dappPath(); - } - if (!process.env.EMBARK_PATH) { - process.env.EMBARK_PATH = fs.embarkPath(); - } } async build(assets, importsList, callback) {