mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Bugfix: Correctly use srcmap-runtime.
This commit is contained in:
parent
8c5a56d864
commit
f463382f9d
@ -668,7 +668,7 @@ void CommandLineInterface::handleCombinedJSON()
|
||||
if (requests.count("srcmap-runtime"))
|
||||
{
|
||||
auto map = m_compiler->runtimeSourceMapping(contractName);
|
||||
contractData["srcmap"] = map ? *map : "";
|
||||
contractData["srcmap-runtime"] = map ? *map : "";
|
||||
}
|
||||
if (requests.count("devdoc"))
|
||||
contractData["devdoc"] = m_compiler->metadata(contractName, DocumentationType::NatspecDev);
|
||||
|
Loading…
Reference in New Issue
Block a user