From 58f96a60683949b82271365d1df9b40e9aab8992 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Thu, 11 Nov 2021 15:38:57 -0500 Subject: [PATCH] fix: ignore new SC2295 error --- tests/shellcheck-exclude | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/shellcheck-exclude b/tests/shellcheck-exclude index 6e4606abc..2049f4b80 100644 --- a/tests/shellcheck-exclude +++ b/tests/shellcheck-exclude @@ -29,3 +29,4 @@ # SC2231 - Quote expansions in this for loop glob to prevent wordsplitting, e.g. "$dir"/*.txt - https://github.com/koalaman/shellcheck/wiki/SC2231 # SC2235 - Use { ..; } instead of (..) to avoid subshell overhead - https://github.com/koalaman/shellcheck/wiki/SC2235 # SC2267 - GNU xargs -i is deprecated in favor of -I{} - https://github.com/koalaman/shellcheck/wiki/SC2267 +# SC2295 - Expansions inside ${..} need to be quoted separately, otherwise they match as patterns - https://github.com/koalaman/shellcheck/wiki/SC2295