Skip to content

Commit d1e1754

Browse files
committed
make lint
1 parent be20161 commit d1e1754

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/docs/testing/test-vale.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ process_files_in_chunks() {
160160
COUNT=0
161161

162162
for FILE in $files; do
163-
if [ $COUNT -eq $chunk_size ]; then
163+
if [ $COUNT -eq "$chunk_size" ]; then
164164
CHUNKS+=("$CHUNK")
165165
CHUNK="$FILE"
166166
COUNT=1
@@ -188,7 +188,7 @@ process_files_in_chunks() {
188188
echo "Processing chunk $((i + 1))/${#CHUNKS[@]} ($(echo "$CHUNK_FILES" | wc -w | tr -d ' ') files)"
189189

190190
# Run Vale on this chunk of files
191-
vale --no-exit --output=JSON --config="$VALE_DIR/.vale.ini" $CHUNK_FILES >"$CHUNK_OUTPUT" 2>/dev/null || true
191+
vale --no-exit --output=JSON --config="$VALE_DIR/.vale.ini" "$CHUNK_FILES" >"$CHUNK_OUTPUT" 2>/dev/null || true
192192

193193
# Verify JSON output and append to combined results
194194
if [ -s "$CHUNK_OUTPUT" ] && jq empty "$CHUNK_OUTPUT" 2>/dev/null; then

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy