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

Stabilize options.solc #1547

Merged
merged 1 commit into from
Dec 17, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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