This commit is contained in:
Alif Rachmawadi committed 2022-07-19 12:00:34 +07:00
1 parent 9c6ea81337
commit ea686d7c56
1 file changed
+5 -1
+5 -1
View File
@@ -90,7 +90,11 @@ transform_path() {
fi
}
if ! command -v jq; then
check_command() {
command -v "$1" > /dev/null 2>&1
}
if ! check_command jq; then
echo "jq not found, please install it, https://stedolan.github.io/jq/download/"
exit 1
fi