From 0babbdf7809a6c779c2548b1d1b50ef28d994cf9 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Thu, 13 Mar 2025 20:57:00 +0000
Subject: [PATCH] fix(contentPage): dont emit folders

---
 quartz/plugins/emitters/componentResources.ts |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/quartz/plugins/emitters/componentResources.ts b/quartz/plugins/emitters/componentResources.ts
index 29ff3bd..fe855ba 100644
--- a/quartz/plugins/emitters/componentResources.ts
+++ b/quartz/plugins/emitters/componentResources.ts
@@ -234,7 +234,7 @@
         for (const fontFile of fontFiles) {
           const res = await fetch(fontFile.url)
           if (!res.ok) {
-            throw new Error(`failed to fetch font ${fontFile.filename}`)
+            throw new Error(`Failed to fetch font ${fontFile.filename}`)
           }
 
           const buf = await res.arrayBuffer()

--
Gitblit v1.10.0