fix(mod_unpack): handle partial readdirSync results when moving nested directory entries and add diagnostic log

This commit is contained in:
2026-03-05 15:01:36 +00:00
parent 95e4f1f036
commit 4feb074c03
3 changed files with 24 additions and 7 deletions

View File

@@ -1,5 +1,12 @@
# Changelog
## 2026-03-05 - 4.1.23 - fix(mod_unpack)
handle partial readdirSync results when moving nested directory entries and add diagnostic log
- Loop over readdirSync results until the nested directory is empty to avoid missing entries from partial reads
- Count moved entries and print a diagnostic message with the final destination entry count
- Keep removal of the now-empty nested directory (fs.rmdirSync) after moving contents
## 2026-03-05 - 4.1.22 - fix(mod_compiler)
improve logging of successful output directories to include a sorted list of entries and use a shortened relative path