From 516d9a27e7e2c08efdf24857b03f1831dbaf7da7 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Sun, 19 Nov 2023 02:27:44 +0000
Subject: [PATCH] fix: explicit undefined check in header transclude
---
quartz/build.ts | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/quartz/build.ts b/quartz/build.ts
index 22288ac..5752caa 100644
--- a/quartz/build.ts
+++ b/quartz/build.ts
@@ -142,6 +142,7 @@
const parsedFiles = [...contentMap.values()]
const filteredContent = filterContent(ctx, parsedFiles)
+
// TODO: we can probably traverse the link graph to figure out what's safe to delete here
// instead of just deleting everything
await rimraf(argv.output)
--
Gitblit v1.10.0