remove chdir override and set PWD from the get go

This commit is contained in:
Jonathan Rainville 2018-08-15 13:27:07 -04:00 committed by Iuri Matias
parent 3c08b575df
commit 70d71b190c
1 changed files with 5 additions and 0 deletions

View File

@ -5,6 +5,11 @@ require('colors');
let version = require('../package.json').version; let version = require('../package.json').version;
// Set PWD to CWD since Windows doesn't have a value for PWD
if (!process.env.PWD) {
process.env.PWD = process.cwd();
}
class EmbarkController { class EmbarkController {
constructor(options) { constructor(options) {