mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #10994 from ethereum/remove-remains-of-ast-json-option
Remove the last remains of --ast-json option
This commit is contained in:
@@ -465,12 +465,12 @@ SOLTMPDIR=$(mktemp -d)
|
||||
|
||||
# This should not fail
|
||||
set +e
|
||||
output=$(echo '' | "$SOLC" --ast-json - 2>/dev/null)
|
||||
output=$(echo '' | "$SOLC" --ast-compact-json - 2>/dev/null)
|
||||
result=$?
|
||||
set -e
|
||||
if [[ $result != 0 ]]
|
||||
then
|
||||
printError "Incorrect response to --ast-json option with empty stdin"
|
||||
printError "Incorrect response to --ast-compact-json option with empty stdin"
|
||||
exit 1
|
||||
fi
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user