mirror of
https://github.com/remotely-save/remotely-save.git
synced 2024-06-07 21:10:45 +00:00
not allow empty in ignorepaths
This commit is contained in:
parent
d0af937fd1
commit
4d6e660f90
@ -1817,7 +1817,10 @@ export class RemotelySaveSettingTab extends PluginSettingTab {
|
||||
textArea
|
||||
.setValue(`${this.plugin.settings.ignorePaths.join("\n")}`)
|
||||
.onChange(async (value) => {
|
||||
this.plugin.settings.ignorePaths = value.trim().split("\n");
|
||||
this.plugin.settings.ignorePaths = value
|
||||
.trim()
|
||||
.split("\n")
|
||||
.filter((x) => x.trim() !== "");
|
||||
await this.plugin.saveSettings();
|
||||
});
|
||||
textArea.inputEl.rows = 10;
|
||||
|
Loading…
Reference in New Issue
Block a user