diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-08-07 12:08:13 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-08-07 12:51:07 +0300 |
commit | 9483262597f7c84234b48ac293a55400c8946471 (patch) | |
tree | c0ea1e4eaf01f6518690203ab791a7bfa984ae69 /share | |
parent | 79e127829073624fa244af9126453a3659863de2 (diff) | |
download | subplot-9483262597f7c84234b48ac293a55400c8946471.tar.gz |
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
Diffstat (limited to 'share')
-rw-r--r-- | share/bash/template/files.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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" } |