fix(fs): Fix directory handling in copy and copySync functions

This commit is contained in:
2025-01-29 18:20:14 +01:00
parent f6fb28d32f
commit 40018532a7
3 changed files with 13 additions and 1 deletions

View File

@@ -1,5 +1,11 @@
# Changelog
## 2025-01-29 - 11.1.9 - fix(fs)
Fix directory handling in copy and copySync functions
- Ensured existing directories at destination are removed before copying over them in async copy.
- Added a similar check and handling for synchronous copySync when destination is a directory.
## 2025-01-29 - 11.1.8 - fix(fs)
Fixed copy and copySync functions to ensure they always overwrite files.