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:
parent
c6d42b15e3
commit
7240d6eebc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user