diff --git a/src/excludedFolder.ts b/src/excludedFolder.ts index 9e45a5a..e710698 100644 --- a/src/excludedFolder.ts +++ b/src/excludedFolder.ts @@ -54,7 +54,6 @@ export class ExcludePattern { export function getExcludedFolder(plugin: FolderNotesPlugin, path: string) { const folderName = plugin.getFolderNameFromPathString(path); const matchedPattern = getExcludedFolderByPattern(plugin, folderName); - console.log(matchedPattern); if (matchedPattern) { return matchedPattern; } const excludedFolder = getExcludedFolderByPath(plugin, path); if (excludedFolder?.path === '') { return; } diff --git a/src/modals/confirmCreation.ts b/src/modals/confirmCreation.ts index b13d0d5..f838a66 100644 --- a/src/modals/confirmCreation.ts +++ b/src/modals/confirmCreation.ts @@ -13,7 +13,6 @@ export default class ConfirmationModal extends Modal { this.app = app; } onOpen() { - console.log(this.containerEl) this.modalEl.addClass('fn-confirmation-modal'); let templateFolderPath: string; const { templateFolder, templaterPlugin } = getTemplatePlugins(this.plugin.app); @@ -45,7 +44,6 @@ export default class ConfirmationModal extends Modal { if (folder instanceof TFolder) { const excludedFolder = getExcludedFolder(this.plugin, folder.path); if (excludedFolder) continue; - console.log(folder.path); if (folder.path === templateFolderPath) continue; const path = folder.path + '/' + this.plugin.settings.folderNoteName.replace('{{folder_name}}', folder.name) + '.md'; if (this.app.vault.getAbstractFileByPath(path)) continue;