Commit 8311436b authored by nanahira's avatar nanahira

fix

parent 68e98245
...@@ -8,10 +8,8 @@ source ./src/prefix.sh ...@@ -8,10 +8,8 @@ source ./src/prefix.sh
handleErrorMessage() { handleErrorMessage() {
rawJsonInput="$1" rawJsonInput="$1"
successInfo=$(echo "$rawJsonInput" | jq '.success') successInfo=$(echo "$rawJsonInput" | jq '.success')
statusCode=$(echo "$rawJsonInput" | jq '.statusCode')
if [[ "$successInfo" != "true" ]]; then if [[ "$successInfo" != "true" ]]; then
failMessage=$(echo "$rawJsonInput" | jq '.success')
echo "$rawJsonInput" echo "$rawJsonInput"
exit 1 exit 1
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment