lib/listen.js
Function constructor
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
constructor (port) {
super()
this.port = port
this.server = net.createServer((c) => {
Function server
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.server = net.createServer((c) => {
let user
let msgs = new Messages()
c.on('data', chunk => {