diff --git a/cmd/cmd_controller.js b/cmd/cmd_controller.js index 143fa250..9e5444db 100644 --- a/cmd/cmd_controller.js +++ b/cmd/cmd_controller.js @@ -3,16 +3,6 @@ const constants = require('../lib/constants'); require('colors'); -// TODO: can this moved somewhere else? (e.g webpackProcess.js) -// Override process.chdir so that we have a partial-implementation PWD for Windows -const realChdir = process.chdir; -process.chdir = (...args) => { - if (!process.env.PWD) { - process.env.PWD = process.cwd(); - } - realChdir(...args); -}; - let version = require('../package.json').version; class EmbarkController { diff --git a/lib/utils/template_generator.js b/lib/utils/template_generator.js index 63570fe8..32262fe2 100644 --- a/lib/utils/template_generator.js +++ b/lib/utils/template_generator.js @@ -30,7 +30,7 @@ class TemplateGenerator { } generate(destinationFolder, name) { - console.log(__('Initializing Embark Template....').green); + console.log(__('Initializing Embark Template...').green); let templatePath = fs.embarkPath(utils.joinPath('templates', this.templateName)); let fspath = utils.joinPath(destinationFolder, name); diff --git a/lib/utils/utils.js b/lib/utils/utils.js index 35e24ed1..92facc19 100644 --- a/lib/utils/utils.js +++ b/lib/utils/utils.js @@ -467,9 +467,9 @@ module.exports = { pingEndpoint, decodeParams, runCmd, - cd: cd, - sed: sed, - exit: exit, + cd, + sed, + exit, downloadFile, extractTar, extractZip,