Jacky Zhao
2025-03-18 9818e1ad5788906162fca5e62665ac21ef0d9639
quartz/util/path.ts
@@ -260,7 +260,7 @@
  return s === suffix || s.endsWith("/" + suffix)
}
function trimSuffix(s: string, suffix: string): string {
export function trimSuffix(s: string, suffix: string): string {
  if (endsWith(s, suffix)) {
    s = s.slice(0, -suffix.length)
  }