felangel / mason

Tools which allow developers to create and consume reusable templates called bricks.
https://docs.brickhub.dev
974 stars 97 forks source link

fix: mason_logger does not handle `stdin.hasTerminal` being false #1282

Closed bryanoltman closed 5 months ago

bryanoltman commented 6 months ago

Description

Scripts run in a terminal-less environment (CI/automation) cannot accept confirmation or user interaction. mason_logger should detect this and throw an error instead of hanging as it currently does.