From a1930e2a01ccdbbf31844e88a8f6243980ebb01a Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Wed, 15 Jan 2020 19:20:54 -0500 Subject: [PATCH] Resolve shellcheck SC2219 use (()) instead of let SC2219: Instead of 'let expr', prefer (( expr )) . Signed-off-by: Thanh Ha Change-Id: Ibb7b4c66915c1d4c95f3475a9a9535115a00463e --- ensure-documented.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ensure-documented.sh b/ensure-documented.sh index 928abdb7..b24e40c8 100755 --- a/ensure-documented.sh +++ b/ensure-documented.sh @@ -30,7 +30,7 @@ for file in "${jjb_files[@]}"; do for item in "${docs_interests[@]}"; do if ! grep -q "$item" "docs/${file//.yaml/.rst}"; then echo "$file:$item" - let "undocumented_count++" + (( undocumented_count++ )) fi done done -- 2.16.6