Skip to content
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.

Commit

Permalink
chore: Clean up formatting in FrontendConnector
Browse files Browse the repository at this point in the history
  • Loading branch information
qdot committed May 9, 2019
1 parent a3daa79 commit 89ab052
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions packages/core/src/FrontendConnector.ts
Expand Up @@ -100,23 +100,22 @@ export abstract class FrontendConnector extends EventEmitter {
}

public async GenerateCertificate() {
let msg = IntifaceProtocols.IntifaceFrontendMessage.create({
const msg = IntifaceProtocols.IntifaceFrontendMessage.create({
generateCertificate: IntifaceProtocols.IntifaceFrontendMessage.GenerateCertificate.create(),
});
await this.SendMessageExpectOk(msg);
}

public async RunCertificateAcceptanceServer() {
let msg = IntifaceProtocols.IntifaceFrontendMessage.create({
const msg = IntifaceProtocols.IntifaceFrontendMessage.create({
runCertificateAcceptanceServer: IntifaceProtocols.IntifaceFrontendMessage.RunCertificateAcceptanceServer.create(),
});
await this.SendMessageExpectOk(msg);
}

protected abstract SendMessageInternal(aRawMsg: Buffer): void;

protected SendMessageWithoutReturn(aMsg: IntifaceProtocols.IntifaceFrontendMessage)
{
protected SendMessageWithoutReturn(aMsg: IntifaceProtocols.IntifaceFrontendMessage) {
this.SendMessageInternal(Buffer.from(IntifaceProtocols.IntifaceFrontendMessage.encode(aMsg).finish()));
}

Expand Down Expand Up @@ -182,9 +181,6 @@ export abstract class FrontendConnector extends EventEmitter {

}

protected UpdateConfiguration() {
}

protected EmitServerMessage(aMsg: IntifaceProtocols.IntifaceBackendMessage) {
this.emit("message", aMsg);
}
Expand Down

0 comments on commit 89ab052

Please sign in to comment.