mirror of
https://github.com/thelounge/thelounge.git
synced 2026-04-17 20:38:35 -04:00
Replace the manual deleteFolder() recursive implementation with
fs.rmSync({recursive: true, force: true}), which handles both files
and directories. This also resolves the ENOTDIR error caused by
.DS_Store and other non-directory entries in the storage folder.
2.2 KiB
2.2 KiB