export const joinPaths = (...args: string[]) => args.map((a) => a.replace(/\/?\*?$/, "")).join();