Skip to content

Commit

Permalink
try this instead
Browse files Browse the repository at this point in the history
  • Loading branch information
bdemann committed Aug 27, 2024
1 parent 3c30999 commit dcd077f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ all_directories+=$'\n'
all_directories+=$(discover_directories "$TESTS_DIR")

# Sort, filter, and generate JSON objects
echo "["
echo "$all_directories" | base64 | sort | while read -r dir; do
echo "[" | base64
echo "$all_directories" | sort | while read -r dir; do
if ! is_excluded "$dir"; then
generate_json "$dir"
generate_json "$dir" | base64
fi
done | sed '$ s/,$//' # Remove the last comma
echo "]"
echo "]" | base64

0 comments on commit dcd077f

Please sign in to comment.