kabirgh
2024-01-15 30640e3441f9273dfdb9f8cf6ea0a29f0bec04a0
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)
  }
}