mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 02:11:23 +00:00
fix: align service path tests with platform delimiters
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user