fix: fixing home dir mapping

This commit is contained in:
Chubby Granny Chaser
2025-05-12 11:54:57 +01:00
parent 749a88b2b6
commit 4ff0132d53
3 changed files with 16 additions and 28 deletions

View File

@@ -33,4 +33,7 @@ export const isPortableVersion = () => {
export const normalizePath = (str: string) =>
path.posix.normalize(str).replace(/\\/g, "/");
export const addTrailingSlash = (str: string) =>
str.endsWith("/") ? str : `${str}/`;
export * from "./reg-parser";