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:
@@ -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)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user