Skip to content

Commit ed1542a

Browse files
committed
cleanup
1 parent bd34046 commit ed1542a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tooling/mirror-community-pull-request.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ echo "- Checking requirements"
5252
# Check gh is installed
5353
gh --version 1>/dev/null 2>&1 || { echo "❌ gh is not installed. Please install GitHub CLI."; exit 1; }
5454
# Check that user is logged into gh cli
55-
gh auth status 1>/dev/null 2>&1 || { echo "❌ Not logged into Github CLI. Please login with \`gh auth status\`."; exit 1; }
55+
gh auth status 1>/dev/null 2>&1 || { echo "❌ Not logged into Github CLI. Please login with \`gh auth login\`."; exit 1; }
5656
# Check jq is installed
5757
jq --version 1>/dev/null 2>&1 || { echo "❌ jq is not installed. Please install jq."; exit 1; }
5858
# Check there are no local changes
@@ -62,7 +62,6 @@ git diff --quiet --exit-code || { echo "❌ There are local changes. Please comm
6262
# Fetch PR information.
6363
#
6464
echo "- Fetching PR #$PR_NUMBER details"
65-
exit 1
6665
# Check if PR exists and get details
6766
PR_DATA=$(gh pr view "$PR_NUMBER" --json headRepository,headRepositoryOwner,headRefName,title,number,state,author 2>/dev/null || echo "")
6867
if [ -z "$PR_DATA" ]; then

0 commit comments

Comments
 (0)