mirror of https://github.com/embarklabs/embark.git
move code runner to core modules
This commit is contained in:
parent
dc86cbaccb
commit
75de982772
|
@ -5,6 +5,7 @@ const utils = require('../utils/utils');
|
||||||
|
|
||||||
const WEB3_READY = 'web3Ready';
|
const WEB3_READY = 'web3Ready';
|
||||||
|
|
||||||
|
// TODO: consider another name, this is the blockchain connector
|
||||||
class Blockchain {
|
class Blockchain {
|
||||||
constructor(options) {
|
constructor(options) {
|
||||||
const self = this;
|
const self = this;
|
||||||
|
|
|
@ -142,7 +142,7 @@ class Engine {
|
||||||
}
|
}
|
||||||
|
|
||||||
codeRunnerService(_options) {
|
codeRunnerService(_options) {
|
||||||
const CodeRunner = require('../coderunner/codeRunner.js');
|
const CodeRunner = require('./modules/coderunner/codeRunner.js');
|
||||||
this.codeRunner = new CodeRunner({
|
this.codeRunner = new CodeRunner({
|
||||||
plugins: this.plugins,
|
plugins: this.plugins,
|
||||||
events: this.events,
|
events: this.events,
|
||||||
|
|
Loading…
Reference in New Issue