π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Remove unnecessary check
Manav Rathi0f1c2fa1cd00
diff --git a/desktop/src/main/fs.ts b/desktop/src/main/fs.tsindex 70947219c4..8bce2a066f 100644--- a/desktop/src/main/fs.ts+++ b/desktop/src/main/fs.ts@@ -107,10 +107,6 @@ export const isFolder = async (dirPath: string) => {};export const deleteFolder = async (folderPath: string) => {- // Ensure folder is empty- const files = await fs.readdir(folderPath);- if (files.length > 0) throw new Error("Folder is not empty");-// rm -rf itawait fs.rmdir(folderPath);};