File tree 1 file changed +2
-2
lines changed
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() {
160
160
COUNT=0
161
161
162
162
for FILE in $files ; do
163
- if [ $COUNT -eq $chunk_size ]; then
163
+ if [ $COUNT -eq " $chunk_size " ]; then
164
164
CHUNKS+=(" $CHUNK " )
165
165
CHUNK=" $FILE "
166
166
COUNT=1
@@ -188,7 +188,7 @@ process_files_in_chunks() {
188
188
echo " Processing chunk $(( i + 1 )) /${# CHUNKS[@]} ($( echo " $CHUNK_FILES " | wc -w | tr -d ' ' ) files)"
189
189
190
190
# 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
192
192
193
193
# Verify JSON output and append to combined results
194
194
if [ -s " $CHUNK_OUTPUT " ] && jq empty " $CHUNK_OUTPUT " 2> /dev/null; then
You can’t perform that action at this time.
0 commit comments