From 40ca337c4920d3dcaace9c865afbc33ef10d0c69 Mon Sep 17 00:00:00 2001 From: Andrea Alberti Date: Wed, 18 Sep 2024 14:57:28 +0200 Subject: [PATCH] removed debugger --- src/patchFileManager.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/patchFileManager.ts b/src/patchFileManager.ts index 9b54f0d..6c46444 100644 --- a/src/patchFileManager.ts +++ b/src/patchFileManager.ts @@ -108,8 +108,7 @@ function patchFilemanager(plugin: ImportAttachments) { } async function deleteAttachmentFolder(plugin: ImportAttachments, file: TAbstractFile) { - debugger - if (!plugin.settings.autoDeleteAttachmentFolder) { return; } + if (!plugin.settings.autoDeleteAttachmentFolder) { return; } // Automatic deletion only works when the attachment name contains ${notename} // In order to avoid deleting common attachment folders, shared between multiple notes