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

Cognitive Complexity issue in CardBuilder component (SonarCloud detected) #4828

Closed
ddubson opened this issue Oct 3, 2023 · 0 comments · Fixed by #4829
Closed

Cognitive Complexity issue in CardBuilder component (SonarCloud detected) #4828

ddubson opened this issue Oct 3, 2023 · 0 comments · Fixed by #4829
Labels
bug Something isn't working

Comments

@ddubson
Copy link
Contributor

ddubson commented Oct 3, 2023

Describe The Bug

SonarCloud is detecting a code smell of Critical severity within src/components/cardBuilder.js. The specific issue to address within this GH issue is: https://sonarcloud.io/project/issues?impactSeverities=HIGH&resolved=false&id=jellyfin_jellyfin-web&open=AXepJqbaYTlMEX6vFIHz

Steps To Reproduce

N/A - SonarCloud detected.

Expected Behavior

SonarCloud no longer detects the block as cognitively complex

Logs

N/A

Screenshots

Additional Context

I have a PR incoming to resolve this issue.

@ddubson ddubson added the bug Something isn't working label Oct 3, 2023
ddubson added a commit to ddubson/jellyfin-web that referenced this issue Oct 3, 2023
ddubson added a commit to ddubson/jellyfin-web that referenced this issue Oct 3, 2023
ddubson added a commit to ddubson/jellyfin-web that referenced this issue Oct 3, 2023
ddubson added a commit to ddubson/jellyfin-web that referenced this issue Oct 5, 2023
ddubson added a commit to ddubson/jellyfin-web that referenced this issue Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant