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:
Harikrishnan Mulackal
2021-02-24 10:21:30 +01:00
committed by GitHub
3 changed files with 3 additions and 7 deletions
+2 -2
View File
@@ -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
)