chore: enable @typescript-eslint/no-floating-promises rule (#260)
This commit is contained in:
parent
586492a3f0
commit
b9dc323734
5 changed files with 12 additions and 4 deletions
|
|
@ -74,7 +74,7 @@ function setupExitWatchdog(serverList: ServerList) {
|
|||
|
||||
program.parse(process.argv);
|
||||
|
||||
async function startSSEServer(port: number, serverList: ServerList) {
|
||||
function startSSEServer(port: number, serverList: ServerList) {
|
||||
const sessions = new Map<string, SSEServerTransport>();
|
||||
const httpServer = http.createServer(async (req, res) => {
|
||||
if (req.method === 'POST') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue