Skip to content

Commit

Permalink
Fix parameter check on checkout-to-pr script (bigbluebutton#18705)
Browse files Browse the repository at this point in the history
* Fix parameter check on review script

* Fix parameter check on review script
  • Loading branch information
TiagoJacobs authored Sep 4, 2023
1 parent c6d42b1 commit 7240d6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/code-review/checkout-to-pr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7240d6e

Please sign in to comment.