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.
This commit is contained in:
Yunfei He
2026-05-29 00:25:53 +08:00
parent 6ca8990270
commit b6e5313611
@@ -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)
);
}