CMU-313 / NodeBB

GNU General Public License v3.0
0 stars 223 forks source link

Refactor code in src/categories/create.js #559

Open heyanuja opened 2 months ago

heyanuja commented 2 months ago

Refactor src/categories/create.js to reduce cognitive complexity

File: src/categories/create.js

SonarCloud Warning: The cognitive complexity of this function is 17, but the allowed limit is 15.

Objective:

Additional Information: This refactor addresses a SonarCloud warning in the Adaptability category. I will update the issue once the refactor is complete.

heyanuja commented 2 months ago

I would like to work on this please!

github-actions[bot] commented 2 months ago

Great! I assigned you (@heyanuja) to the issue. Have fun working on it!