Skip to content

Commit

Permalink
fix: allow space in excluded folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Mara-Li committed Feb 27, 2024
1 parent 8544c5a commit 263cd11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 263cd11

Please sign in to comment.