Skip to content

Commit

Permalink
switch from hub to gh (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
ringabout authored Apr 25, 2024
1 parent 497d37d commit b564e30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bw-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ fragment assetFields on ReleaseAsset {
getAssets=$getAssetsExact
fi

resp=$(hub api --paginate graphql "${hubParams[@]}") || exit 1
resp=$(gh api graphql --paginate "${hubParams[@]}") || exit 1

if [[ $(jq 'has("errors")' <<< "$resp") == true ]]; then
jq -r '.errors[] | .message' <<< "$resp" >&2
Expand Down

0 comments on commit b564e30

Please sign in to comment.