From 7e828252bbf37d967db3feed820409625f38b5ab Mon Sep 17 00:00:00 2001
From: Aaron Pham <contact@aarnphm.xyz>
Date: Tue, 07 Jan 2025 21:00:09 +0000
Subject: [PATCH] fix(path): handle lone slash (#1713)
---
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