3 Commits

Author SHA1 Message Date
Manuel Rüger
fef39dc1e0 fix: preserve include directive in output on error in ProcessIncludes
All error paths in the ReplaceAllFunc callback returned nil, which
ReplaceAllFunc treats as an empty replacement, silently erasing the
guard (if err != nil) fired, every subsequent include in the file
was also erased. Return spec (the original directive bytes) instead
so failed includes are preserved and subsequent ones are not lost.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-16 19:18:29 +01:00
Manuel Rüger
8d83ec00c0 chore: Switch to maintained yaml 2026-02-08 01:51:43 +01:00
Manuel Rüger
dc8842106b *: Reorganize code 2024-09-29 00:13:04 +02:00