Skip to content

Commit

Permalink
_sponsors: Fix compat with jq 1.7
Browse files Browse the repository at this point in the history
Empty filter is no longer accepted, it seems.
  • Loading branch information
liskin committed Jan 7, 2025
1 parent c7f8a22 commit 5c1cc9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _sponsors.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function named-sponsors {
GITHUB_TOKEN="${ADMIN_GITHUB_TOKEN:?}" \
o gh-org-sponsorships "${1:?org}" \
| jq-sort-by sponsorEntity.login \
| jq -s ''
| jq -s '.'
)
GITHUB_TOKEN="${ADMIN_GITHUB_TOKEN:?}" \
o gh-org-sponsors-monthly-tiers "${1:?org}" \
Expand All @@ -80,7 +80,7 @@ function named-sponsors {
| while read -r tier; do
<<<"$public_sponsorships" jq '.[]' | jq-filter-tier "$tier" | jq '.sponsorEntity'
done \
| jq -s ''
| jq -s '.'
}

"$@"

0 comments on commit 5c1cc9f

Please sign in to comment.