From 2041341d9fd9a3b674d7fa7286ad5b6e99ce80e5 Mon Sep 17 00:00:00 2001
From: Aaron Bull Schaefer <aaron@elasticdog.com>
Date: Wed, 14 Feb 2024 17:41:44 +0000
Subject: [PATCH] docs: workaround for shallow clones on Cloudflare Pages (#868)

---
 quartz/cli/helpers.js |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/quartz/cli/helpers.js b/quartz/cli/helpers.js
index 1bb9b23..702a1b7 100644
--- a/quartz/cli/helpers.js
+++ b/quartz/cli/helpers.js
@@ -3,7 +3,6 @@
 import { contentCacheFolder } from "./constants.js"
 import { spawnSync } from "child_process"
 import fs from "fs"
-import { rimraf } from "rimraf"
 
 export function escapePath(fp) {
   return fp
@@ -53,11 +52,3 @@
   })
   await fs.promises.rm(contentCacheFolder, { force: true, recursive: true })
 }
-
-export async function rmrf(path) {
-  if (os.platform() == "win32") {
-    return rimraf.windows(path)
-  } else {
-    return rimraf(path)
-  }
-}

--
Gitblit v1.10.0