From 9483262597f7c84234b48ac293a55400c8946471 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 7 Aug 2021 12:08:13 +0300 Subject: chore: tell shellcheck it's OK Newer version of shellcheck complains about expanding an unused variable, but since the code is actually only a snippet that will be embedded in the generated output, this is OK. Sponsored-by: author --- share/bash/template/files.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'share') diff --git a/share/bash/template/files.sh b/share/bash/template/files.sh index e27bf0d..7c24ec0 100644 --- a/share/bash/template/files.sh +++ b/share/bash/template/files.sh @@ -3,6 +3,7 @@ # Store files embedded in the markdown input. files_new() { + # shellcheck disable=SC2154 rm -rf "$_datadir/_files" mkdir "$_datadir/_files" } -- cgit v1.2.1