mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
CommandLineInterface: Update control flow to accommodate the new way of reporting errors
This commit is contained in:
@@ -95,11 +95,7 @@ ImportCheck checkImport(
|
||||
"pragma solidity >=0.0;\n" +
|
||||
_import + ";";
|
||||
|
||||
test::OptionsReaderAndMessages cliResult = test::parseCommandLineAndReadInputFiles(
|
||||
commandLine,
|
||||
standardInputContent,
|
||||
true /* processInput */
|
||||
);
|
||||
test::OptionsReaderAndMessages cliResult = test::runCLI(commandLine, standardInputContent);
|
||||
if (cliResult.success)
|
||||
return ImportCheck::OK();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user