merge-requests/6/head
Matthew 2021-08-09 14:29:09 -04:00
parent fb3ec73898
commit 60f8c78180
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 36 additions and 35 deletions

View File

@ -29,7 +29,8 @@ export default class Context {
}
public send(v: string) {
this.socket.write(`${v.toString()}\n`);
console.log('writing or whateva');
this.socket.write(`${v.toString()}\n`, (err) => console.error(err));
this.socket.destroy();
}
}