Skip to content

Commit

Permalink
make the file check test a loop
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzsequence committed Feb 13, 2024
1 parent bc4bd7e commit 2922922
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/bin/validate-bin-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ files=(
cd "$TEST_PROJECT_DIRECTORY"
test -d bin || (echo "❌ bin directory not found" >&2 && exit 1)

for file in "$(files[@])"; do
for file in "${files[@]}"; do
if ! test -f "$file"; then
echo "$file not found" >&2
exit 1
echo "$file not found" >&2
exit 1
fi

echo "✅ All bin files found"
done
echo "✅ All bin files found"

0 comments on commit 2922922

Please sign in to comment.