fix: align service path tests with platform delimiters

This commit is contained in:
Peter Steinberger
2026-01-24 02:34:50 +00:00
parent 1d862cf5c2
commit a4e57d3ac4
4 changed files with 43 additions and 35 deletions

View File

@@ -121,8 +121,7 @@ export function buildMinimalServicePath(options: BuildServicePathOptions = {}):
return env.PATH ?? "";
}
const delimiter = platform === "win32" ? path.win32.delimiter : path.posix.delimiter;
return getMinimalServicePathPartsFromEnv({ ...options, env }).join(delimiter);
return getMinimalServicePathPartsFromEnv({ ...options, env }).join(path.posix.delimiter);
}
export function buildServiceEnvironment(params: {