发布

  • fix(core): only prompt for NX Console installation in TTY environments (#32425)

    frostbyte_neo 发布于 2025-08-20 19:10:55 +00:00

    Current Behavior

    Currently, the NX Console installation prompt can appear in
    non-interactive environments like CI/CD pipelines, causing processes to
    hang indefinitely waiting for user input.

    Expected Behavior

    The NX Console installation prompt should only appear in TTY
    (interactive terminal) environments where users can actually respond to
    the prompt.

    Related Issue(s)

    This change adds a TTY check (process.stdout.isTTY) before showing the
    NX Console installation prompt, preventing hanging in automated
    environments while preserving the interactive experience for developers
    working in terminals.

    下载附件