diff --git a/lib/core/plugin.js b/lib/core/plugin.js index b01975227..296f52b5d 100644 --- a/lib/core/plugin.js +++ b/lib/core/plugin.js @@ -60,7 +60,6 @@ Plugin.prototype.hasContext = function(context) { Plugin.prototype.loadPlugin = function() { if (!this.isContextValid()) { - console.log(this.acceptedContext); this.logger.warn(__('Plugin {{name}} can only be loaded in the context of "{{contextes}}"', {name: this.name, contextes: this.acceptedContext.join(', ')})); return false; } diff --git a/lib/modules/solidity/solcP.js b/lib/modules/solidity/solcP.js index 2d5383243..43f9c0249 100644 --- a/lib/modules/solidity/solcP.js +++ b/lib/modules/solidity/solcP.js @@ -19,7 +19,7 @@ class SolcProcess extends ProcessWrapper { return {contents: fs.readFileSync(path.join('./node_modules/', filename)).toString()}; } if (fs.existsSync(path.join(constants.httpContractsDirectory, filename))) { - return {contents: fs.readFileSync(path.join('./.embark/contracts', filename)).toString()}; + return {contents: fs.readFileSync(path.join(constants.httpContractsDirectory, filename)).toString()}; } return {error: 'File not found'}; }