diff --git a/src/cli/progress.ts b/src/cli/progress.ts index dcf8f4dcfae..742bb958752 100644 --- a/src/cli/progress.ts +++ b/src/cli/progress.ts @@ -66,7 +66,7 @@ export function createCliProgress(options: ProgressOptions): ProgressReporter { const delayMs = typeof options.delayMs === "number" ? options.delayMs : DEFAULT_DELAY_MS; const canOsc = isTty && supportsOscProgress(process.env, isTty); - const stdinIsRaw = process.stdin.isRaw === true; + const stdinIsRaw = process.stdin.isRaw; const allowSpinner = shouldUseInteractiveProgressSpinner({ fallback: options.fallback, streamIsTty: isTty,