fix(test): normalize darwin runtime hint paths

This commit is contained in:
Peter Steinberger
2026-03-07 21:40:46 +00:00
parent e20f445099
commit eb616b709f

View File

@@ -1,4 +1,5 @@
import { resolveGatewayLogPaths } from "./launchd.js"; import { resolveGatewayLogPaths } from "./launchd.js";
import { toPosixPath } from "./output.js";
export function buildPlatformRuntimeLogHints(params: { export function buildPlatformRuntimeLogHints(params: {
platform?: NodeJS.Platform; platform?: NodeJS.Platform;
@@ -11,8 +12,8 @@ export function buildPlatformRuntimeLogHints(params: {
if (platform === "darwin") { if (platform === "darwin") {
const logs = resolveGatewayLogPaths(env); const logs = resolveGatewayLogPaths(env);
return [ return [
`Launchd stdout (if installed): ${logs.stdoutPath}`, `Launchd stdout (if installed): ${toPosixPath(logs.stdoutPath)}`,
`Launchd stderr (if installed): ${logs.stderrPath}`, `Launchd stderr (if installed): ${toPosixPath(logs.stderrPath)}`,
]; ];
} }
if (platform === "linux") { if (platform === "linux") {