We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentbe20161 commitd1e1754Copy full SHA for d1e1754
.github/docs/testing/test-vale.sh
@@ -160,7 +160,7 @@ process_files_in_chunks() {
160
COUNT=0
161
162
forFILEin$files;do
163
-if [$COUNT-eq$chunk_size ];then
+if [$COUNT-eq"$chunk_size" ];then
164
CHUNKS+=("$CHUNK")
165
CHUNK="$FILE"
166
COUNT=1
@@ -188,7 +188,7 @@ process_files_in_chunks() {
188
echo"Processing chunk$((i+1))/${#CHUNKS[@]} ($(echo"$CHUNK_FILES"| wc -w| tr -d'') files)"
189
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
+vale --no-exit --output=JSON --config="$VALE_DIR/.vale.ini""$CHUNK_FILES">"$CHUNK_OUTPUT"2>/dev/null||true
192
193
# Verify JSON output and append to combined results
194
if [-s"$CHUNK_OUTPUT" ]&& jq empty"$CHUNK_OUTPUT"2>/dev/null;then