Skip to content

Commit

Permalink
revert test script change
Browse files Browse the repository at this point in the history
  • Loading branch information
Tofel committed Aug 14, 2024
1 parent 6151dbb commit 16b2c80
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions contracts/scripts/ci/find_slither_report_diff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,8 @@ openai_result=$(echo '{
-d @-
)

# TODO change me to != 200
# throw error openai_result when is not 200
if [ "$openai_result" == '200' ]; then
if [ "$openai_result" != '200' ]; then
echo "::error::OpenAI API call failed with status $openai_result: $(cat prompt_response.json)"
exit 1
fi
Expand Down

0 comments on commit 16b2c80

Please sign in to comment.