Remove console.log's

This commit is contained in:
Lost Paul 2024-09-28 20:20:08 +02:00
parent 89c11df3ce
commit ebc6199122

View file

@ -28,7 +28,6 @@ export class TemplateSuggest extends TextInputSuggest<TFile> {
}
getSuggestions(input_str: string): TFile[] {
console.log('this.plugin', this.plugin)
const { templateFolder, templaterPlugin } = getTemplatePlugins(this.plugin.app);
if ((!templateFolder || templateFolder?.trim() === '') && !templaterPlugin) {
this.plugin.settings.templatePath = '';
@ -40,7 +39,6 @@ export class TemplateSuggest extends TextInputSuggest<TFile> {
folder = this.plugin.app.vault.getAbstractFileByPath(templaterPlugin.plugin?.settings?.templates_folder as string) as TFolder;
} else {
console.log('templateFolder', templateFolder);
folder = this.plugin.app.vault.getAbstractFileByPath(templateFolder) as TFolder;
}