Skip to content

Commit 8c71ee5

Browse files
committed
fix: syntax error/duplicate else statement
1 parent 21012da commit 8c71ee5

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

gh-cli/check-repository-admin.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,4 @@ if gh api --paginate "repos/$OWNER/$REPOSITORY/collaborators/$USERNAME" --silent
7373
else
7474
echo "✗ User '$USERNAME' is NOT a collaborator in '$OWNER/$REPOSITORY' or an error occurred"
7575
exit 1
76-
fi
77-
fi
78-
79-
else
80-
# User is not a collaborator or an error occurred
81-
echo "✗ User '$USERNAME' is NOT a collaborator in '$OWNER/$REPOSITORY' or an error occurred"
82-
exit 1
8376
fi

0 commit comments

Comments
 (0)