From 705ddf529d73c7b9e0458b768592d3ed471aaef2 Mon Sep 17 00:00:00 2001 From: Tomas Norre Mikkelsen Date: Fri, 15 Nov 2024 06:53:29 +0100 Subject: [PATCH] fix: Ensure name_filter are local scoped --- bin/test.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/test.sh b/bin/test.sh index 182accb1..1f41108b 100755 --- a/bin/test.sh +++ b/bin/test.sh @@ -13,6 +13,7 @@ file_ext="php" function main { has_failures=0 + local -a name_filter name_filter=() if [ $# -ge 1 ] && [ -n "$1" ]; then name_filter=("-name" "$1")