fix library manager init

This commit is contained in:
Iuri Matias 2018-07-20 21:28:46 +03:00
parent 2baaba07e6
commit 540afedbaf
4 changed files with 5 additions and 2 deletions

View File

@ -22,6 +22,7 @@ class Compiler {
} }
let pluginCompilers = self.plugins.getPluginsProperty('compilers', 'compilers'); let pluginCompilers = self.plugins.getPluginsProperty('compilers', 'compilers');
console.dir(pluginCompilers);
pluginCompilers.forEach(function (compilerObject) { pluginCompilers.forEach(function (compilerObject) {
available_compilers[compilerObject.extension] = compilerObject.cb; available_compilers[compilerObject.extension] = compilerObject.cb;
}); });

View File

@ -3,6 +3,7 @@ var Npm = require('./npm.js');
class LibraryManager { class LibraryManager {
constructor(embark) { constructor(embark) {
this.embark = embark;
this.config = embark.config; this.config = embark.config;
this.contractsConfig = this.config.contractsConfig; this.contractsConfig = this.config.contractsConfig;
this.storageConfig = this.config.storageConfig; this.storageConfig = this.config.storageConfig;

View File

@ -1,4 +1,4 @@
const fs = require('../core/fs.js'); const fs = require('../../core/fs.js');
const PluginManager = require('live-plugin-manager-git-fix').PluginManager; const PluginManager = require('live-plugin-manager-git-fix').PluginManager;
require('colors'); require('colors');
const NpmTimer = require('./npmTimer'); const NpmTimer = require('./npmTimer');

View File

@ -38,7 +38,8 @@ class SolcW {
this.solcProcess = new ProcessLauncher({ this.solcProcess = new ProcessLauncher({
modulePath: utils.joinPath(__dirname, 'solcP.js'), modulePath: utils.joinPath(__dirname, 'solcP.js'),
logger: self.logger, logger: self.logger,
events: self.events events: self.events,
silent: false
}); });
this.solcProcess.once("result", "initiated", () => { this.solcProcess.once("result", "initiated", () => {