Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Commit

Permalink
Remove useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
ddzero2c committed May 7, 2021
1 parent 23c2ecc commit e4987e7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,8 @@ for ((i = 0 ; i < $MAX_RETRIES ; i++)); do
fi
done

if [[ "$REBASEABLE" != "true" || "$i" == "$MAX_RETRIES" ]] ; then
if [[ "$REBASEABLE" != "true" ]] ; then
echo "GitHub doesn't think that the PR is rebaseable!"
echo "API response: $pr_resp"
exit 1
fi

Expand Down

0 comments on commit e4987e7

Please sign in to comment.