fix(fs): Fix issues in file stability check and directory existence verification in fs module

This commit is contained in:
2025-01-07 04:35:56 +01:00
parent 7c07c5c174
commit a9799e05ee
3 changed files with 35 additions and 27 deletions

View File

@@ -1,5 +1,12 @@
# Changelog
## 2025-01-07 - 11.1.2 - fix(fs)
Fix issues in file stability check and directory existence verification in fs module
- Removed unused variable 'isFileAvailable' in 'waitForFileToBeReady'.
- Fixed logic for ensuring the target directory exists before setting up file stability watcher.
- Refactored directory existence logic into 'ensureDirectoryExists' function.
## 2025-01-07 - 11.1.1 - fix(fs)
Improve waitForFileToBeReady function for file stability detection