move code runner to core modules

This commit is contained in:
Iuri Matias 2018-07-20 19:37:50 +03:00
parent dc86cbaccb
commit 75de982772
4 changed files with 2 additions and 1 deletions

View File

@ -5,6 +5,7 @@ const utils = require('../utils/utils');
const WEB3_READY = 'web3Ready';
// TODO: consider another name, this is the blockchain connector
class Blockchain {
constructor(options) {
const self = this;

View File

@ -142,7 +142,7 @@ class Engine {
}
codeRunnerService(_options) {
const CodeRunner = require('../coderunner/codeRunner.js');
const CodeRunner = require('./modules/coderunner/codeRunner.js');
this.codeRunner = new CodeRunner({
plugins: this.plugins,
events: this.events,