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

Refactoring code in src/groups/update.js #16

Merged
merged 3 commits into from
Sep 25, 2024
Merged

Conversation

JasmineRocket
Copy link

Refactor this function to reduce its Cognitive Complexity from 27 to the 15 allowed. A helper function was added to reduce the cognitive complexity of the suggested function

Refactor this function to reduce its Cognitive Complexity from 27 to the 15 allowed. 
A helper function was added to reduce the cognitive complexity of the suggested function
fixed minor spacing grammar and syntax errors
fixed Trailing spaces
Copy link

@jullia02 jullia02 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@JasmineRocket JasmineRocket merged commit 7d96899 into f24 Sep 25, 2024
1 check passed
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.

2 participants