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

Remove redundant flag check from ThemeEngine #2273

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Phillipus
Copy link
Contributor

If the boolean "flag" is set to false the last conditional check will never be true so return early. The theme will have been set anyway.

Copy link
Contributor

github-actions bot commented Sep 15, 2024

Test Results

 1 210 files  + 1 210   1 210 suites  +1 210   1h 15m 2s ⏱️ + 1h 15m 2s
 7 699 tests + 7 699   7 466 ✅ + 7 466  233 💤 +233  0 ❌ ±0 
16 172 runs  +16 172  15 658 ✅ +15 658  514 💤 +514  0 ❌ ±0 

Results for commit d27b0c5. ± Comparison against base commit c7da703.

♻️ This comment has been updated with latest results.

@Phillipus Phillipus force-pushed the theme-check branch 3 times, most recently from 6d655d0 to 53391f3 Compare September 17, 2024 07:57
If the boolean "flag" is set to false the last conditional check will never be true so return early. The theme will have been set anyway.
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.

1 participant