From 263cd11ca0c29ef19594e01eb58e9eb77f1432ce Mon Sep 17 00:00:00 2001 From: Mara-Li Date: Tue, 27 Feb 2024 12:34:41 +0100 Subject: [PATCH] fix: allow space in excluded folder --- src/settings.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/settings.ts b/src/settings.ts index c9086750..d8014cc9 100644 --- a/src/settings.ts +++ b/src/settings.ts @@ -636,7 +636,7 @@ export class GithubPublisherSettingsTab extends PluginSettingTab { ) .onChange(async (value) => { uploadSettings.autoclean.excluded = value - .split(/[,\n]\W*/) + .split(/[,\n]/) .map((item) => item.trim()) .filter((item) => item.length > 0); await this.plugin.saveSettings();