From eb5697bb9990a99aaf9c6e3045caa75de15e10c9 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Tue, 22 Oct 2024 06:59:54 -0700 Subject: [PATCH] Minor fixes in bin/find-invalid-json.sh --- bin/find-invalid-json.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/find-invalid-json.sh b/bin/find-invalid-json.sh index 024c67daf..80ef4f48a 100755 --- a/bin/find-invalid-json.sh +++ b/bin/find-invalid-json.sh @@ -210,8 +210,8 @@ find . -name '*.json' -print | if ! "$JPARSE" "$JSON_FILE" 2>/dev/null; then echo "$JSON_FILE is invalid JSON" fi -# this writes the invalid JSON files to the temporary error file -done > "$TMP_INVALID_JSON" + # this writes the invalid JSON files to the temporary error file + done > "$TMP_INVALID_JSON" # count the invalid JSON files # @@ -233,6 +233,6 @@ if [[ -s $TMP_INVALID_JSON ]]; then exit 1 fi if [[ $V_FLAG -ge 1 ]]; then - echo "$0: debug[1]: $INVALID_JSON_COUNT invalid JSON file(s) found" 1>&2 + echo "$0: debug[1]: $INVALID_JSON_COUNT invalid JSON files found" 1>&2 fi exit 0