sanju1198 opened a new pull request, #57497: URL: https://github.com/apache/airflow/pull/57497
This PR fixes an `AttributeError: 'NoneType' object has no attribute 'print'` that occurs when running `prek` inside the Breeze shell. The `console` object is `None` in a non-TTY environment, and this PR adds `if console:` checks to prevent the script from crashing when `console.print()` is called. This fixes the bug I found in the #new-contributors Slack. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
