From 5a5ef670fee5f5f65981801a7ec9c2e563fe99ad Mon Sep 17 00:00:00 2001
From: Francisco Gama T. R. <francisco@ironik.org>
Date: Tue, 03 Dec 2024 06:56:59 +0000
Subject: [PATCH] fix(darkmode): check for null (#1531)
---
quartz/plugins/emitters/helpers.ts | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/quartz/plugins/emitters/helpers.ts b/quartz/plugins/emitters/helpers.ts
index ef1d1c3..523151c 100644
--- a/quartz/plugins/emitters/helpers.ts
+++ b/quartz/plugins/emitters/helpers.ts
@@ -7,7 +7,7 @@
ctx: BuildCtx
slug: FullSlug
ext: `.${string}` | ""
- content: string
+ content: string | Buffer
}
export const write = async ({ ctx, slug, ext, content }: WriteOptions): Promise<FilePath> => {
--
Gitblit v1.10.0