rm redundant setup of env vars

This commit is contained in:
Michael Bradley, Jr 2018-08-17 12:42:50 -05:00
parent 76502fa693
commit 53a4fd2089
2 changed files with 0 additions and 11 deletions

View File

@ -5,11 +5,6 @@ process.on('uncaughtException', function(e){
const constants = require('../../constants'); const constants = require('../../constants');
const Events = require('./eventsWrapper'); 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 { class ProcessWrapper {
/** /**

View File

@ -10,12 +10,6 @@ class WebpackProcess extends ProcessWrapper {
constructor(options) { constructor(options) {
super(options); super(options);
this.webpackConfigName = options.webpackConfigName; 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) { async build(assets, importsList, callback) {