From ebaf2eaf9d6c552c6d3b730bc1363957080c021a Mon Sep 17 00:00:00 2001 From: Lost Paul <70213368+LostPaul@users.noreply.github.com> Date: Sun, 19 Mar 2023 23:19:45 +0100 Subject: [PATCH] Update commands.ts --- src/commands.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/commands.ts b/src/commands.ts index 49a2a00..28089d7 100644 --- a/src/commands.ts +++ b/src/commands.ts @@ -16,7 +16,8 @@ export class Commands { item.setTitle('Remove folder from excluded folders') .setIcon('x') .onClick(() => { - this.plugin.settings.excludeFolders = this.plugin.settings.excludeFolders.filter((folder) => folder.path !== file.path); + this.plugin.settings.excludeFolders = this.plugin.settings.excludeFolders.filter( + (folder) => folder.path !== file.path); this.plugin.saveSettings(); new Notice('Successfully removed folder from excluded folders'); });