Export mergePath

This commit is contained in:
ohmree 2022-02-28 04:21:09 +02:00
parent 8af471699e
commit 39430c4dd8

View File

@ -1,4 +1,4 @@
function mergePath(basePaths: (string | null)[], path: string) {
export function mergePath(basePaths: (string | null)[], path: string) {
if (path.startsWith("/")) {
path = path.slice(1);
}