Skip to content

Commit

Permalink
fix: Ensure name_filter are local scoped
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasnorre committed Nov 15, 2024
1 parent 1df6486 commit 705ddf5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 705ddf5

Please sign in to comment.