standard fix

pull/1/head
yann300 7 years ago
parent dfe6deca47
commit 3762100ae8
  1. 4
      src/app/panels/terminal.js

@ -568,8 +568,8 @@ class Terminal {
var self = this
var context = domTerminalFeatures(self, scopedCommands)
try {
var context = vm.createContext(Object.assign(self._jsSandboxContext, context))
var result = vm.runInContext(script, context)
var cmds = vm.createContext(Object.assign(self._jsSandboxContext, context))
var result = vm.runInContext(script, cmds)
self._jsSandboxContext = Object.assign({}, context)
done(null, result)
} catch (error) {

Loading…
Cancel
Save