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'); });