From b6e53136115e48a1217e2f05a34bb46d7bad352e Mon Sep 17 00:00:00 2001 From: Yunfei He Date: Fri, 29 May 2026 00:25:53 +0800 Subject: [PATCH] style(runtime): reformat write-synchronized.ts to satisfy oxfmt The committed file had unformatted line wrapping that vp fmt --check flags, which would fail CI the moment check:fmt runs. Reflow to the formatter's output; no behavior change. --- packages/runtime/src/io/write-synchronized.ts | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/packages/runtime/src/io/write-synchronized.ts b/packages/runtime/src/io/write-synchronized.ts index 8737253..1fc96e7 100644 --- a/packages/runtime/src/io/write-synchronized.ts +++ b/packages/runtime/src/io/write-synchronized.ts @@ -4,13 +4,8 @@ import isInCi from "is-in-ci"; export const bsu = "\x1b[?2026h"; export const esu = "\x1b[?2026l"; -export function shouldSynchronize( - stream: Writable, - interactive?: boolean, -): boolean { +export function shouldSynchronize(stream: Writable, interactive?: boolean): boolean { return ( - "isTTY" in stream && - (stream as Writable & { isTTY: boolean }).isTTY && - (interactive ?? !isInCi) + "isTTY" in stream && (stream as Writable & { isTTY: boolean }).isTTY && (interactive ?? !isInCi) ); }