updated github_foreach_repo.sh

pull/2/head
Hari Sekhon 3 years ago
parent 18f8dcb7a2
commit 1d2eeb33b2

@ -48,8 +48,7 @@ min_args 1 "$@"
cmd_template="$*"
user="${GITHUB_USER:-$(get_github_user)}"
user_or_org="${GITHUB_ORGANIZATION:-$user}"
user_or_org="${GITHUB_ORGANIZATION:-${GITHUB_USER:-$(get_github_user)}}"
get_github_repos "$user_or_org" "${GITHUB_ORGANIZATION:-}" |
while read -r repo; do

Loading…
Cancel
Save