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 802 files   - 13   1 802 suites   - 13   1h 32m 26s ⏱️ -47s
 7 704 tests ± 0   7 475 ✅  -  1  228 💤 ±0  1 ❌ +1 
24 191 runs   - 82  23 443 ✅  - 83  746 💤  - 1  2 ❌ +2 

For more details on these failures, see this check.

Results for commit 686a350. ± Comparison against base commit 2a52383.

♻️ This comment has been updated with latest results.

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