diff --git a/packages/truffle-compile/index.js b/packages/truffle-compile/index.js index 072a918f990..5ef872835ce 100644 --- a/packages/truffle-compile/index.js +++ b/packages/truffle-compile/index.js @@ -44,10 +44,8 @@ var compile = function(sources, options, callback) { // Grandfather in old solc config if (options.solc) { - options.compilers.solc.settings.evmVersion = - options.solc.settings.evmVersion || options.solc.evmVersion; - options.compilers.solc.settings.optimizer = - options.solc.settings.optimizer || options.solc.optimizer; + options.compilers.solc.settings.evmVersion = options.solc.evmVersion; + options.compilers.solc.settings.optimizer = options.solc.optimizer; } // Ensure sources have operating system independent paths