feature(package) add support of cwd in TerminalRun with help of gritty v4.7.0

This commit is contained in:
coderaiser 2019-05-31 12:47:25 +03:00
parent 4914c22b5d
commit fe9723fa15
2 changed files with 3 additions and 1 deletions

View file

@ -100,12 +100,14 @@ function getEnv() {
function create(createOptions) {
const {
cwd = DOM.getCurrentDirPath(),
command,
autoClose,
closeMessage = 'Press any key to close Terminal...',
} = createOptions;
const options = {
cwd,
env: getEnv(),
prefix: getPrefixSocket(),
socketPath: CloudCmd.prefix,

View file

@ -163,7 +163,7 @@
"extract-text-webpack-plugin": "^4.0.0-alpha.0",
"fast-async": "^7.0.6",
"file-loader": "^3.0.1",
"gritty": "^4.6.0",
"gritty": "^4.7.0",
"gunzip-maybe": "^1.3.1",
"html-looks-like": "^1.0.2",
"html-webpack-plugin": "^3.0.7",