src/index.js
Showing 2 of 2 total issues
Function start
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
App.start = function (port, usehttp2 = false) { for (const route of koaton.router.options()) { App.use(route); } let callback = () => {
- Create a ticketCreate a ticket
Function start
has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring. Open
Open
App.start = function (port, usehttp2 = false) { for (const route of koaton.router.options()) { App.use(route); } let callback = () => {
- Read upRead up
- Create a ticketCreate a ticket