File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments