Skip to content

Commit

Permalink
fix: fix bulk node processing
Browse files Browse the repository at this point in the history
  • Loading branch information
srg-kostyrko committed Oct 15, 2024
1 parent 96b00f1 commit 9e3aa42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/add-notes-journal-modal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ export class AddNotesJournalModal extends Modal {

private async processNote(note: TFile): Promise<void> {
this.writeToConsole(`Processing ${note.basename}`);
if (note.extension !== ".md") return this.writeToConsole(`Not a markdown file - skipped`);
if (note.extension !== "md") return this.writeToConsole(`Not a markdown file - skipped`);
const journalData = await this.manager.getJournalData(note.path);
this.console_ident++;
try {
Expand Down

0 comments on commit 9e3aa42

Please sign in to comment.