From 70d71b190ca748256413310fb025e07a9139fa15 Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Wed, 15 Aug 2018 13:27:07 -0400 Subject: [PATCH] remove chdir override and set PWD from the get go --- cmd/cmd_controller.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cmd/cmd_controller.js b/cmd/cmd_controller.js index 9e5444db..43f5523f 100644 --- a/cmd/cmd_controller.js +++ b/cmd/cmd_controller.js @@ -5,6 +5,11 @@ require('colors'); 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 { constructor(options) {