[autofix.ci] apply automated fixes (attempt 2/3)
authorautofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Wed, 20 Nov 2024 14:21:59 +0000 (14:21 +0000)
committerGitHub <noreply@github.com>
Wed, 20 Nov 2024 14:21:59 +0000 (14:21 +0000)
examples/typescript/websocket-server-pool/ws-cluster/src/worker.ts
examples/typescript/websocket-server-pool/ws-hybrid/src/websocket-server-worker.ts

index 3031bd66cc7a02627f27fd340b11a9fb3b30ed1b..4a0ae6a86f74b28e376b30aded5a15bf7e89a83d 100644 (file)
@@ -49,7 +49,6 @@ class WebSocketServerWorker extends ClusterWorker<WorkerData, WorkerResponse> {
       ws.on('error', console.error)
       ws.on('message', (message: RawData) => {
         const { data, type } = JSON.parse(
-
           message.toString()
         ) as MessagePayload<DataPayload>
         switch (type) {
index 779f3760249537be6a1501d907ed4c77c2393ec7..86a0c8f8d149b06f83143ed65c3ab3c70d6bd76d 100644 (file)
@@ -66,7 +66,6 @@ class WebSocketServerWorker extends ClusterWorker<
       ws.on('error', console.error)
       ws.on('message', (message: RawData) => {
         const { data, type } = JSON.parse(
-
           message.toString()
         ) as MessagePayload<DataPayload>
         switch (type) {