Skip to content

Commit 2d52b00

Browse files
committed
style(hooks): format signalCode stringification
oxfmt --check rejected the wrapped signal field in runLifecycleHook.
1 parent ad429fa commit 2d52b00

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎src/session/hooks.ts‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,8 +412,7 @@ async function runLifecycleHook(
412412
]);
413413
return {
414414
code: exitCode,
415-
signal:
416-
proc.signalCode === null ? null : String(proc.signalCode),
415+
signal: proc.signalCode === null ? null : String(proc.signalCode),
417416
stderr: delivered
418417
? stderr
419418
: `${stderr}${stderr.length > 0 && !stderr.endsWith("\n") ? "\n" : ""}hook exited without reading its payload\n`,

0 commit comments

Comments
 (0)