From d32a6d1fbbd8b16c51cea4d2b76a78f889efa65a Mon Sep 17 00:00:00 2001 From: Alexander Menk Date: Tue, 30 Nov 2021 15:56:53 +0100 Subject: [PATCH] Stop if JQ is not installed Running the build without JQ will only lead to more problems, so it is better to fail early --- bin/build-storefront.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/build-storefront.sh b/bin/build-storefront.sh index a49904c37a..a1c2397bc1 100755 --- a/bin/build-storefront.sh +++ b/bin/build-storefront.sh @@ -40,7 +40,8 @@ if [[ $(command -v jq) ]]; then done cd "$OLDPWD" || exit else - echo "Cannot check extensions for required npm installations as jq is not installed" + echo "FATAL: Cannot check extensions for required npm installations as jq is not installed" + exit fi npm --prefix "${STOREFRONT_ROOT}"/Resources/app/storefront clean-install