We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21012da commit 8c71ee5Copy full SHA for 8c71ee5
gh-cli/check-repository-admin.sh
@@ -73,11 +73,4 @@ if gh api --paginate "repos/$OWNER/$REPOSITORY/collaborators/$USERNAME" --silent
73
else
74
echo "✗ User '$USERNAME' is NOT a collaborator in '$OWNER/$REPOSITORY' or an error occurred"
75
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
83
fi
0 commit comments