Skip to content

Commit

Permalink
dojoup: Add missing check on jq (#747)
Browse files Browse the repository at this point in the history
  • Loading branch information
ptisserand authored Aug 11, 2023
1 parent 2338b50 commit e4cc6bc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dojoup/dojoup
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ main() {
if [[ "$DOJOUP_REPO" == "dojoengine/dojo" && -z "$DOJOUP_BRANCH" && -z "$DOJOUP_COMMIT" ]]; then
DOJOUP_VERSION=${DOJOUP_VERSION-stable}
DOJOUP_TAG=$DOJOUP_VERSION

need_cmd jq

# Normalize versions (handle channels, versions without v prefix
if [[ "$DOJOUP_VERSION" == "stable" ]]; then
# Fetch the list of releases from the GitHub API and get the first non-prerelease
Expand Down Expand Up @@ -294,4 +295,4 @@ banner() {
}


main "$@" || exit 1
main "$@" || exit 1

0 comments on commit e4cc6bc

Please sign in to comment.