From d0f12a23829e21e7c1cf41d7007afdbd35d31d7c Mon Sep 17 00:00:00 2001 From: Alois Mahdal Date: Mar 21 2020 16:05:07 +0000 Subject: Mute ShellCheck warning about temp var --- diff --git a/src/include-sh/mdfmt.sh b/src/include-sh/mdfmt.sh index 2220745..e53b8c3 100644 --- a/src/include-sh/mdfmt.sh +++ b/src/include-sh/mdfmt.sh @@ -78,6 +78,7 @@ _mdfmt__indent() { test "$Elem" == h2 && { cat; return; } test "$Elem" == h3 && { cat; return; } pfx=$( + #shellcheck disable=SC2034 for n in $(seq 1 "$Nest"); do printf ' ' done