Fix parameter check on checkout-to-pr script (#18705)

* Fix parameter check on review script

* Fix parameter check on review script
This commit is contained in:
Tiago Jacobs 2023-09-04 10:59:49 -03:00 committed by GitHub
parent c6d42b15e3
commit 7240d6eebc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ if ! command -v jq &> /dev/null; then
fi
# Check if both the PR number is provided
if [ ! $# > 0 ]; then
if [ $# -le 0 ]; then
echo "Usage: $0 <PR_NUMBER>"
exit 1
fi