From 4226c4106cafd70299e5ddddc79e12e72b36fa57 Mon Sep 17 00:00:00 2001 From: sunwei Date: Tue, 26 Nov 2024 20:20:16 +0800 Subject: [PATCH] use disclosure to handler each files --- src/hugoverse.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hugoverse.ts b/src/hugoverse.ts index efa248b..d1be097 100644 --- a/src/hugoverse.ts +++ b/src/hugoverse.ts @@ -142,7 +142,7 @@ export class Hugoverse { // 遍历文件夹中的所有 Markdown 文件并处理 const filePromises = []; Vault.recurseChildren(folder, (file) => { -`` (async (currentFile) => { + (async (currentFile) => { if (currentFile instanceof TFile) { if (currentFile.extension === "md") { const fileProcessing = (async () => {