BobBuildTool / bob

Bob build tool - Functional cross platform build-automation tool
https://bobbuildtool.dev/
GNU General Public License v3.0
73 stars 44 forks source link

scripts: set cmd line color mode immediately #581

Closed jkloetzke closed 1 month ago

jkloetzke commented 1 month ago

If the user gives a color mode on the command line, apply the mode immediately. Otherwise the mode was not applied until some recipes layer was successfully parsed. Because error messages are already colored, that created some inconsistent behaviour.

Fixes #578.

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 88.66%. Comparing base (3c25f8b) to head (5644d50).

Files Patch % Lines
pym/bob/scripts.py 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #581 +/- ## ========================================== - Coverage 88.67% 88.66% -0.01% ========================================== Files 46 46 Lines 14856 14857 +1 ========================================== Hits 13173 13173 - Misses 1683 1684 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.