style: fix biome formatting
This commit is contained in:
committed by
Peter Steinberger
parent
d8b1a38350
commit
793360c5bb
@@ -268,7 +268,10 @@ export async function runCommandReply(
|
||||
verboseLog(`Command auto-reply stdout (trimmed): ${trimmed || "<empty>"}`);
|
||||
const elapsed = Date.now() - started;
|
||||
verboseLog(`Command auto-reply finished in ${elapsed}ms`);
|
||||
logger.info({ durationMs: elapsed, agent: agentKind, cwd: reply.cwd }, "command auto-reply finished");
|
||||
logger.info(
|
||||
{ durationMs: elapsed, agent: agentKind, cwd: reply.cwd },
|
||||
"command auto-reply finished",
|
||||
);
|
||||
if ((code ?? 0) !== 0) {
|
||||
console.error(
|
||||
`Command auto-reply exited with code ${code ?? "unknown"} (signal: ${signal ?? "none"})`,
|
||||
@@ -359,7 +362,10 @@ export async function runCommandReply(
|
||||
return { payload, meta };
|
||||
} catch (err) {
|
||||
const elapsed = Date.now() - started;
|
||||
logger.info({ durationMs: elapsed, agent: agentKind, cwd: reply.cwd }, "command auto-reply failed");
|
||||
logger.info(
|
||||
{ durationMs: elapsed, agent: agentKind, cwd: reply.cwd },
|
||||
"command auto-reply failed",
|
||||
);
|
||||
const anyErr = err as { killed?: boolean; signal?: string };
|
||||
const timeoutHit = anyErr.killed === true || anyErr.signal === "SIGKILL";
|
||||
const errorObj = err as { stdout?: string; stderr?: string };
|
||||
|
||||
Reference in New Issue
Block a user