Skip to content

Commit

Permalink
Update list-users.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
SubhashPatibandla authored Mar 31, 2024
1 parent d026d6a commit 6af55cf
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions github-api/list-users.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/bin/bash

helper()

# GitHub API URL
API_URL="https://api.github.com"

Expand Down Expand Up @@ -38,12 +36,6 @@ function list_users_with_read_access {
fi
}

function helper{
expected_cmd_args=2
if [ $# -ne $expected_cmd_args ]; then
echo " Please provide the required cmd args "
echo "asd"
}
# Main script

echo "Listing users with read access to ${REPO_OWNER}/${REPO_NAME}..."
Expand Down

0 comments on commit 6af55cf

Please sign in to comment.