fix(fs): Fix file existence check in waitForFileToBeReady method.

This commit is contained in:
2025-01-07 04:41:17 +01:00
parent 207320ff26
commit dbddf2a8ba
3 changed files with 22 additions and 11 deletions

View File

@@ -1,5 +1,12 @@
# Changelog
## 2025-01-07 - 11.1.4 - fix(fs)
Fix file existence check in waitForFileToBeReady method.
- Ensured that the directory and file exist before setting up the watcher in waitForFileToBeReady.
- Changed ensureDirectoryExists to ensureFileExists for correct file path verification.
- Handled ENOENT errors correctly to retry file existence checks until timeout is reached.
## 2025-01-07 - 11.1.3 - fix(fs)
Fix TypeScript type issue in fs module