tests passing

This commit is contained in:
2025-07-03 01:43:49 -06:00
parent 0b4f504ba2
commit 0aecd354c7
3 changed files with 121 additions and 53 deletions

View File

@@ -1,2 +1,3 @@
export const joinPaths = (...args: string[]) =>
args.map((a) => a.replace(/\/?\*?$/, "")).join();
args.map((a, i, l) => i === l.length - 1 ? a : a.replace(/\/?\.?\*?$/, ""))
.join("");