Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scripts: set cmd line color mode immediately #581

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

jkloetzke
Copy link
Member

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.

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 BobBuildTool#578.
Copy link

codecov bot commented Aug 1, 2024

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 ⚠️
Additional details and impacted files
@@            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     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jkloetzke jkloetzke merged commit f6e486b into BobBuildTool:master Aug 1, 2024
10 of 11 checks passed
@jkloetzke jkloetzke deleted the fix-color-never branch August 1, 2024 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

color=never not respected
1 participant