From 65066645089739a04578350cf75f29169aa71780 Mon Sep 17 00:00:00 2001 From: Mara Date: Tue, 24 May 2022 01:38:13 +0200 Subject: [PATCH] style: eslint --- mkdocsPublisher/settings.ts | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/mkdocsPublisher/settings.ts b/mkdocsPublisher/settings.ts index ccf89c89..8ee03b72 100644 --- a/mkdocsPublisher/settings.ts +++ b/mkdocsPublisher/settings.ts @@ -134,17 +134,17 @@ export class MkdocsSettingsTab extends PluginSettingTab { new Setting(this.containerEl) - .setName('Default Folder') - .setDesc('Set the default reception folder') - .addText((text) => { - text - .setPlaceholder('docs') - .setValue(this.plugin.settings.folderDefaultName) - .onChange(async (value) => { - this.plugin.settings.folderDefaultName = value.replace(/\/$/, ''); - await this.plugin.saveSettings(); - }); - }); + .setName('Default Folder') + .setDesc('Set the default reception folder') + .addText((text) => { + text + .setPlaceholder('docs') + .setValue(this.plugin.settings.folderDefaultName) + .onChange(async (value) => { + this.plugin.settings.folderDefaultName = value.replace(/\/$/, ''); + await this.plugin.saveSettings(); + }); + }); const frontmatterKeySettings = new Setting(this.containerEl) .setName('Frontmatter key') @@ -170,7 +170,7 @@ export class MkdocsSettingsTab extends PluginSettingTab { .onChange(async(value)=>{ this.plugin.settings.rootFolder =value.replace(/\/$/, ''); await this.plugin.saveSettings(); - }); + }); }); if (this.plugin.settings.downloadedFolder == 'yamlFrontmatter') {