From 29500e4f443c45431883ae1753b2fcb8b4425055 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Dro=C5=84?= Date: Mon, 13 Nov 2023 12:38:12 +0100 Subject: [PATCH] Fix copy --- .husky/pre-push | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.husky/pre-push b/.husky/pre-push index 5a179e93efa..d43c508b19f 100755 --- a/.husky/pre-push +++ b/.husky/pre-push @@ -1,14 +1,14 @@ #!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" -# Maximum allowed branch name length (cloud limit) +# Maximum allowed branch name length (deployment instance name limit) MAX_LENGTH=37 # Check if the branch name length exceeds the maximum allowed length branch_name=$(git symbolic-ref --short HEAD) if [ ${#branch_name} -gt $MAX_LENGTH ]; then echo "⚠️ Warning: Branch name '$branch_name' exceeds the maximum allowed length of $MAX_LENGTH characters." - echo "⚠️ Cloud instance will not be able to deploy." + echo "⚠️ The deployment instance will not be created." fi npm run check-types