mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
basename to step
This commit is contained in:
parent
4e51ddca0f
commit
84602ec831
@ -589,7 +589,7 @@ void CommandLineInterface::createFile(string const& _fileName, string const& _da
|
||||
|
||||
void CommandLineInterface::createJson(string const& _fileName, string const& _json)
|
||||
{
|
||||
createFile(boost::filesystem::basename(_fileName) + string(".json"), _json);
|
||||
createFile(boost::filesystem::path(_fileName).stem().string() + string(".json"), _json);
|
||||
}
|
||||
|
||||
bool CommandLineInterface::run(int _argc, char const* const* _argv)
|
||||
|
Loading…
Reference in New Issue
Block a user