-
Notifications
You must be signed in to change notification settings - Fork 223
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/middleware/render.js to Reduce Cognitive Complexity from 16 to 15 #489
base: f24
Are you sure you want to change the base?
Commits on Sep 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7c97cbb - Browse repository at this point
Copy the full SHA 7c97cbbView commit details -
changed the duplicate res.headersSent conditions in lines 60 and line…
…s 71 with the checkHeadersSent(res) helper method to reduce cognitive complexity
Configuration menu - View commit details
-
Copy full SHA for 2496fae - Browse repository at this point
Copy the full SHA 2496faeView commit details -
placement of comments for new helpder function checkHeadersSent added…
… for visibility of coder
Configuration menu - View commit details
-
Copy full SHA for 1ba5d02 - Browse repository at this point
Copy the full SHA 1ba5d02View commit details
Commits on Sep 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d561aac - Browse repository at this point
Copy the full SHA d561aacView commit details -
added test cases in middleware.js in test folder to attempt testing n…
…ew code or checkHeadersSent function
Configuration menu - View commit details
-
Copy full SHA for d50fec0 - Browse repository at this point
Copy the full SHA d50fec0View commit details -
successfully ran new test case (with comments of what the test case d…
…oes) and saw that the coverage displayed increased coverage in lines and function compared to previously
Configuration menu - View commit details
-
Copy full SHA for 04ac3ff - Browse repository at this point
Copy the full SHA 04ac3ffView commit details -
tried to add console.log(VICKY_CHEN) and run server but it failed and…
… gave error saying VICKY_CHEN Not defined
Configuration menu - View commit details
-
Copy full SHA for 868f0c6 - Browse repository at this point
Copy the full SHA 868f0c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef953d6 - Browse repository at this point
Copy the full SHA ef953d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2964a48 - Browse repository at this point
Copy the full SHA 2964a48View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ac30e2 - Browse repository at this point
Copy the full SHA 3ac30e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8657b49 - Browse repository at this point
Copy the full SHA 8657b49View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c56d17 - Browse repository at this point
Copy the full SHA 8c56d17View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c2499e - Browse repository at this point
Copy the full SHA 5c2499eView commit details -
changed the checkHeadersSent function to be the exact duplicate of th…
…e original code just to see if it'll work and pass test cases now
Configuration menu - View commit details
-
Copy full SHA for 5a44a9d - Browse repository at this point
Copy the full SHA 5a44a9dView commit details
Commits on Sep 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 67290cf - Browse repository at this point
Copy the full SHA 67290cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 11432b2 - Browse repository at this point
Copy the full SHA 11432b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d7b296 - Browse repository at this point
Copy the full SHA 8d7b296View commit details -
Configuration menu - View commit details
-
Copy full SHA for 73b5f60 - Browse repository at this point
Copy the full SHA 73b5f60View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ad0769 - Browse repository at this point
Copy the full SHA 8ad0769View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7193437 - Browse repository at this point
Copy the full SHA 7193437View commit details -
Configuration menu - View commit details
-
Copy full SHA for f5a5d1b - Browse repository at this point
Copy the full SHA f5a5d1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c03e144 - Browse repository at this point
Copy the full SHA c03e144View commit details -
Configuration menu - View commit details
-
Copy full SHA for a13b956 - Browse repository at this point
Copy the full SHA a13b956View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e04ff9 - Browse repository at this point
Copy the full SHA 9e04ff9View commit details -
fixed config file and admin information so now nodebb server should b…
…e running successfully
Configuration menu - View commit details
-
Copy full SHA for 0f2c161 - Browse repository at this point
Copy the full SHA 0f2c161View commit details