Remove the last remains of --ast-json option

This commit is contained in:
Kamil Śliwak
2021-02-23 12:39:19 +01:00
parent c9f1b55073
commit 01f8005d04
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
)