diff --git a/desktop/src/main/fs.ts b/desktop/src/main/fs.ts index a1b9c6f79b9a6d66946ad4c28a57453bea182fe2..70947219c49928a737543f575f71c352dd377cb8 100644 --- a/desktop/src/main/fs.ts +++ b/desktop/src/main/fs.ts @@ -107,9 +107,6 @@ export const isFolder = async (dirPath: string) => { }; export const deleteFolder = async (folderPath: string) => { - // Ensure it is folder - if (!isFolder(folderPath)) return; - // Ensure folder is empty const files = await fs.readdir(folderPath); if (files.length > 0) throw new Error("Folder is not empty");