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
1 changed files with 3 additions and 2 deletions

View File

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