quartz/util/path.ts
@@ -1,9 +1,6 @@ import { slug as slugAnchor } from "github-slugger" import type { Element as HastElement } from "hast" import rfdc from "rfdc" export const clone = rfdc() import { clone } from "./clone" // this file must be isomorphic so it can't use node libs (e.g. path) export const QUARTZ = "quartz" @@ -188,7 +185,7 @@ } let joined = args .filter((segment) => segment !== "") .filter((segment) => segment !== "" && segment !== "/") .map((segment) => stripSlashes(segment)) .join("/")