Skip to content

Commit

Permalink
use disclosure to handler each files
Browse files Browse the repository at this point in the history
  • Loading branch information
sunwei committed Nov 26, 2024
1 parent d14a7a9 commit 4226c41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hugoverse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand Down

0 comments on commit 4226c41

Please sign in to comment.