We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa829c4 commit a762832Copy full SHA for a762832
1 file changed
.github/workflows/sync-to-nabledge/sync.sh
@@ -126,17 +126,7 @@ while IFS= read -r line || [ -n "$line" ]; do
126
esac
127
done < "$MANIFEST"
128
129
-# JSON syntax check
130
-echo " Checking JSON syntax..."
131
-JSON_ERRORS=0
132
-while IFS= read -r json_file; do
133
- if ! jq empty "$json_file" 2>/dev/null; then
134
- echo " FAIL: invalid JSON: $json_file"
135
- JSON_ERRORS=$((JSON_ERRORS + 1))
136
- fi
137
-done < <(find "$DEST_DIR" -name '*.json' -type f)
138
-
139
-TOTAL_ERRORS=$((ERRORS + JSON_ERRORS))
+TOTAL_ERRORS=$((ERRORS))
140
if [ "$TOTAL_ERRORS" -ne 0 ]; then
141
echo "Validation failed with $TOTAL_ERRORS error(s)"
142
exit 1
0 commit comments