Fix prettier issue (pusher)

This commit is contained in:
CEC 2022-04-19 10:57:11 +02:00
parent ecd0e86dc6
commit 322f9ca707
2 changed files with 2 additions and 5 deletions

View File

@ -22,7 +22,7 @@ import {
FollowAbortMessage, FollowAbortMessage,
VariableMessage, VariableMessage,
LockGroupPromptMessage, LockGroupPromptMessage,
ErrorScreenMessage ErrorScreenMessage,
} from "../Messages/generated/messages_pb"; } from "../Messages/generated/messages_pb";
import { UserMovesMessage } from "../Messages/generated/messages_pb"; import { UserMovesMessage } from "../Messages/generated/messages_pb";
import { parse } from "query-string"; import { parse } from "query-string";

View File

@ -644,10 +644,7 @@ export class SocketManager implements ZoneEventListener {
client.send(serverToClientMessage.serializeBinary().buffer, true); client.send(serverToClientMessage.serializeBinary().buffer, true);
} }
public emitErrorScreenMessage( public emitErrorScreenMessage(client: compressors.WebSocket, error: ErrorScreenMessage) {
client: compressors.WebSocket,
error: ErrorScreenMessage
) {
const serverToClientMessage = new ServerToClientMessage(); const serverToClientMessage = new ServerToClientMessage();
serverToClientMessage.setErrorscreenmessage(error); serverToClientMessage.setErrorscreenmessage(error);