mirror of https://github.com/embarklabs/embark.git
Fix lint
This commit is contained in:
parent
6a2b91d99b
commit
6c63179fa1
|
@ -2,7 +2,7 @@ const vm = require('vm');
|
||||||
|
|
||||||
class RunCode {
|
class RunCode {
|
||||||
constructor() {
|
constructor() {
|
||||||
this.context = Object.assign({}, {require, console, ...global.this});
|
this.context = Object.assign({}, {require, console}, global.this);
|
||||||
}
|
}
|
||||||
|
|
||||||
doEval(code) {
|
doEval(code) {
|
||||||
|
|
|
@ -100,7 +100,6 @@ class CodeGenerator {
|
||||||
});
|
});
|
||||||
|
|
||||||
self.events.setCommandHandler('code-generator:embarkjs:initialization-code', (cb) => {
|
self.events.setCommandHandler('code-generator:embarkjs:initialization-code', (cb) => {
|
||||||
console.log("command")
|
|
||||||
cb(self.getEmbarkJsInitializationCode());
|
cb(self.getEmbarkJsInitializationCode());
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue