Remove console.log

This commit is contained in:
Lost Paul 2023-08-05 22:15:26 +02:00
parent 80193b9b58
commit 507e4f77ac
2 changed files with 0 additions and 3 deletions

View file

@ -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; }

View file

@ -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;