mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 17:34:35 +00:00
fix(test): normalize darwin runtime hint paths
This commit is contained in:
@@ -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") {
|
||||||
|
|||||||
Reference in New Issue
Block a user