Skip to content

Commit

Permalink
add more detail in message for simplicity
Browse files Browse the repository at this point in the history
  • Loading branch information
akash1810 committed Jan 22, 2021
1 parent 3ede7cb commit 3ea5bd8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion script/check-aws-cdk
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3ea5bd8

Please sign in to comment.