chore: enable @typescript-eslint/no-floating-promises rule (#260)

This commit is contained in:
Max Schmitt
2025-04-23 16:03:30 +02:00
committed by GitHub
parent 586492a3f0
commit b9dc323734
5 changed files with 12 additions and 4 deletions

View File

@@ -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') {