From feb10fc1e39d6d7420366eb827e8c8fb475af90a Mon Sep 17 00:00:00 2001 From: Maksims Svecovs Date: Thu, 18 Jan 2024 17:42:21 +0000 Subject: [PATCH] [fix] Fix annotate script arithmetic context Signed-off-by: Maksims Svecovs --- scripts/annotate-license.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/annotate-license.sh b/scripts/annotate-license.sh index 4c27c0dac..4a249fd90 100755 --- a/scripts/annotate-license.sh +++ b/scripts/annotate-license.sh @@ -60,7 +60,7 @@ EXIT_CODE="${?}" for file in $(git diff --name-only); do if ! echo "${UNSTAGED}" | grep -q "\b${file}\b"; then echo -e "${GREEN}Please stage ${file} for the commit${NC}" - EXIT_CODE=$((${EXIT_CODE} | 2)) + EXIT_CODE=$((EXIT_CODE | 2)) fi done -- GitLab