Merge pull request #607 from rsp2k/patch-1

Add friendly check for jq
This commit is contained in:
Tobias Genannt
2021-10-14 09:11:56 +02:00
committed by GitHub

View File

@@ -3,6 +3,14 @@
echo "▶️ $0 $*"
###
# Check for the jq library needed for parsing JSON
###
if ! command -v jq; then
echo "⚠️ jq command missing from \$PATH!"
exit 1
fi
###
# Checking for the presence of GITHUB_OAUTH_CLIENT_ID
# and GITHUB_OAUTH_CLIENT_SECRET