fix(mod_output): resolve absolute and relative entry.path correctly when adding files

This commit is contained in:
2026-01-23 19:08:55 +00:00
parent 6d88adcd1e
commit f0fb99c8ae
4 changed files with 12 additions and 2 deletions

View File

@@ -1,5 +1,12 @@
# Changelog
## 2026-01-23 - 2.8.2 - fix(mod_output)
resolve absolute and relative entry.path correctly when adding files
- Add check for plugins.path.isAbsolute(entry.path) to avoid incorrectly joining absolute paths with dirPath
- Use entry.path directly when it's absolute, otherwise join with dirPath
- Ensures correct relativePath calculation and prevents invalid file reads
## 2026-01-12 - 2.8.1 - fix(readme)
document maxLineLength option for base64ts output and add example and tip