style: format service-env.ts (oxfmt line-length wrapping)
This commit is contained in:
parent
7345a70f86
commit
fb3b871e44
@ -296,7 +296,12 @@ export function buildServiceEnvironment(params: {
|
||||
}): Record<string, string | undefined> {
|
||||
const { env, port, launchdLabel, extraPathDirs } = params;
|
||||
const platform = params.platform ?? process.platform;
|
||||
const sharedEnv = resolveSharedServiceEnvironmentFields(env, platform, extraPathDirs, params.execPath);
|
||||
const sharedEnv = resolveSharedServiceEnvironmentFields(
|
||||
env,
|
||||
platform,
|
||||
extraPathDirs,
|
||||
params.execPath,
|
||||
);
|
||||
const profile = env.OPENCLAW_PROFILE;
|
||||
const resolvedLaunchdLabel =
|
||||
launchdLabel || (platform === "darwin" ? resolveGatewayLaunchAgentLabel(profile) : undefined);
|
||||
@ -323,7 +328,12 @@ export function buildNodeServiceEnvironment(params: {
|
||||
}): Record<string, string | undefined> {
|
||||
const { env, extraPathDirs } = params;
|
||||
const platform = params.platform ?? process.platform;
|
||||
const sharedEnv = resolveSharedServiceEnvironmentFields(env, platform, extraPathDirs, params.execPath);
|
||||
const sharedEnv = resolveSharedServiceEnvironmentFields(
|
||||
env,
|
||||
platform,
|
||||
extraPathDirs,
|
||||
params.execPath,
|
||||
);
|
||||
const gatewayToken =
|
||||
env.OPENCLAW_GATEWAY_TOKEN?.trim() || env.CLAWDBOT_GATEWAY_TOKEN?.trim() || undefined;
|
||||
return {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user