mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-12 06:50:43 +00:00
fix: silence cron exec completion noise
This commit is contained in:
committed by
Peter Steinberger
parent
017252e4f8
commit
bd60df3e53
@@ -53,6 +53,7 @@ export type ExecuteNodeHostCommandParams = {
|
||||
approvalRunningNoticeMs: number;
|
||||
warnings: string[];
|
||||
notifySessionKey?: string;
|
||||
notifyOnExit?: boolean;
|
||||
trustedSafeBinDirs?: ReadonlySet<string>;
|
||||
};
|
||||
|
||||
@@ -228,7 +229,8 @@ export async function executeNodeHostCommand(
|
||||
? "allow-once"
|
||||
: (approvalDecision ?? undefined),
|
||||
runId: runId ?? undefined,
|
||||
suppressNotifyOnExit: suppressNotifyOnExit === true ? true : undefined,
|
||||
suppressNotifyOnExit:
|
||||
suppressNotifyOnExit === true || params.notifyOnExit === false ? true : undefined,
|
||||
},
|
||||
idempotencyKey: crypto.randomUUID(),
|
||||
}) satisfies Record<string, unknown>;
|
||||
|
||||
Reference in New Issue
Block a user