fix: update normalize path

This commit is contained in:
Zamitto 2024-10-07 22:29:39 -03:00
parent 1bba8c84bd
commit 365178b06d

View File

@ -30,4 +30,4 @@ export const isPortableVersion = () =>
process.env.PORTABLE_EXECUTABLE_FILE !== null;
export const normalizePath = (str: string) =>
path.normalize(str.replace(/\\/g, "/"));
path.posix.normalize(str).replace(/\\/g, "/");