Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
revert to legacy config
Browse files Browse the repository at this point in the history
  • Loading branch information
CruzMolina committed Dec 17, 2018
1 parent 9464db0 commit 94dae36
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/truffle-compile/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 94dae36

Please sign in to comment.