chore: reformat code style

This commit is contained in:
Seijo Cecilia committed 2024-08-26 14:58:04 +08:00
1 parent fa1d266696
commit b16a429686
60 files changed
+295 -237

No files matched your search

+2 -1
View File
@@ -1,4 +1,4 @@
import { IOB11NetworkAdapter, OB11EmitEventContent } from './index';
import { IOB11NetworkAdapter } from './index';
import express, { Express, Request, Response } from 'express';
import http from 'http';
import { NapCatCore } from '@/core';
@@ -44,6 +44,7 @@ export class OB11PassiveHttpAdapter implements IOB11NetworkAdapter {
this.server?.close();
this.app = undefined;
}
private initializeServer() {
this.app = express();
this.server = http.createServer(this.app);