From fea352849c6972da4b3b8935eb2e86f6cefc76ed Mon Sep 17 00:00:00 2001
From: Ben Schlegel <ben5.schlegel@gmail.com>
Date: Sat, 16 Sep 2023 17:45:21 +0000
Subject: [PATCH] fix: create deep copy of file passed into tree

---
 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