diff --git a/packages/plugins/solc/src/lib/Compiler.js b/packages/plugins/solc/src/lib/Compiler.js index 3e81cfe2a..0bbda2015 100644 --- a/packages/plugins/solc/src/lib/Compiler.js +++ b/packages/plugins/solc/src/lib/Compiler.js @@ -51,7 +51,7 @@ function compileSolc(embark, contractFiles, contractDirectories, options, callba } const logger = embark.logger; - const outputBinary = embark.config.pluginConfig.outputBinary; + const outputBinary = embark.pluginConfig.outputBinary; const outputDir = embark.config.buildDir + embark.config.contractDirectories[0]; const solcConfig = embark.config.embarkConfig.options.solc; diff --git a/packages/utils/testing/src/embark.js b/packages/utils/testing/src/embark.js index 4c4c7fd90..19656a762 100644 --- a/packages/utils/testing/src/embark.js +++ b/packages/utils/testing/src/embark.js @@ -7,6 +7,7 @@ class Embark { this.plugins = plugins; this.config = config || {}; this.config.plugins = plugins; + this.pluginConfig = config.pluginConfig || {}; this.ipc = ipc; this.config.ipc = ipc; this.assert = new EmbarkAssert(this);