CMU-313 / NodeBB

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

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

Open heyanuja opened 1 month ago

heyanuja commented 1 month 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 1 month ago

I would like to work on this please!

github-actions[bot] commented 1 month ago

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