Skip to content

Commit 4785e09

Browse files
authored
Merge pull request #607 from rsp2k/patch-1
Add friendly check for jq
2 parents 68401ca + d4f9bb6 commit 4785e09

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

build-latest.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33

44
echo "▶️ $0 $*"
55

6+
###
7+
# Check for the jq library needed for parsing JSON
8+
###
9+
if ! command -v jq; then
10+
echo "⚠️ jq command missing from \$PATH!"
11+
exit 1
12+
fi
13+
614
###
715
# Checking for the presence of GITHUB_OAUTH_CLIENT_ID
816
# and GITHUB_OAUTH_CLIENT_SECRET

0 commit comments

Comments
 (0)