From 3ea5bd8c787f810a99f41349aa2144c6467fb78d Mon Sep 17 00:00:00 2001 From: Akash Askoolum Date: Fri, 22 Jan 2021 15:08:01 +0000 Subject: [PATCH] add more detail in message for simplicity --- script/check-aws-cdk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/check-aws-cdk b/script/check-aws-cdk index a6a88a8f57..0623cdda05 100755 --- a/script/check-aws-cdk +++ b/script/check-aws-cdk @@ -18,7 +18,8 @@ INSTALLED_VERSION_POSITION=$(echo "$VERSIONS" | jq ". | index(\"${INSTALLED_VERS DIFFERENCE=$((TOTAL_VERSIONS - INSTALLED_VERSION_POSITION)) if [ $DIFFERENCE -gt $TOLERANCE ]; then + echo "⚠️ This repository is currently using $LIBRARY_TO_CHECK at version $INSTALLED_VERSION_NUMBER." echo "⚠️ $LIBRARY_TO_CHECK and related libraries are currently $DIFFERENCE releases out of date." - echo "⚠️ Run ./script/update-aws-cdk to update them." + echo "⚠️ Run ./script/update-aws-cdk to update them." exit 1 fi