chore: Allow script to continue despite errors
All checks were successful
Auto Changelog & Release / release (push) Successful in 14s

- The `|| true` ensures the script continues even if the increment
  operation fails. This prevents the script from halting if
  `CONVERTED` is unset.
This commit is contained in:
2025-07-09 21:40:43 +02:00
parent 65acd03fcb
commit 552c33e89b

2
scripts/convert-md-tree.sh Normal file → Executable file
View File

@@ -89,7 +89,7 @@ while IFS= read -r -d '' FILE; do
pandoc $PANDOC_ARGS "$FILE" -s -o "$OUT_FILE"
echo "✅ Converted: $FILE -> $OUT_FILE"
fi
((CONVERTED++))
((CONVERTED++)) || true
done < <(find "$SRC" -type f -name '*.md' -print0)
if $DRY_RUN; then