mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix if --evmonepath was implicitly defined.
If an evmone library was found, it was not possible to change the used evm1 vm anymore via --vm.
This commit is contained in:
parent
0bcef5ab81
commit
583bbbb5a4
@ -141,7 +141,7 @@ bool CommonOptions::parse(int argc, char const* const* argv)
|
||||
throw std::runtime_error(errorMessage.str());
|
||||
}
|
||||
|
||||
if (!evmonePath.empty())
|
||||
if (!evmonePath.empty() && vmPaths.empty())
|
||||
vmPaths.emplace_back(evmonePath);
|
||||
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user