Skip to content

Commit 185c32c

Browse files
committed
Linting
1 parent 008c5ee commit 185c32c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/bridge/AdminRoomHandler.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ class ServerRequiredError extends Error {
200200
const USER_FEATURES = ["mentions"];
201201
export class AdminRoomHandler {
202202
private readonly botUser: MatrixUser;
203-
private readonly roomIdsExpectingCertFp = new Map<string, (certificate: string) => void>();
203+
private readonly roomIdsExpectingCertFp: Map<string, (certificate: string) => void> = new Map();
204204
constructor(private ircBridge: IrcBridge, private matrixHandler: MatrixHandler) {
205205
this.botUser = new MatrixUser(ircBridge.appServiceUserId, undefined, false);
206206
}
@@ -316,7 +316,8 @@ export class AdminRoomHandler {
316316
req.log.info(`${sender} is attempting to store a cert for ${server.domain}`);
317317
await this.ircBridge.sendMatrixAction(
318318
adminRoom, this.botUser, new MatrixAction(
319-
ActionType.Notice, `Please enter your certificate and private key (without formatting) for ${server.getReadableName()}.`
319+
ActionType.Notice,
320+
`Please enter your certificate and private key (without formatting) for ${server.getReadableName()}.`
320321
)
321322
);
322323
let certfp: string;
@@ -676,7 +677,6 @@ export class AdminRoomHandler {
676677
const server = this.extractServerFromArgs(args);
677678

678679
const domain = server.domain;
679-
const store = this.ircBridge.getStore();
680680
let notice;
681681

682682
try {

0 commit comments

Comments
 (0)