diff --git a/src/report/ReportPoll.ts b/src/report/ReportPoll.ts index 4db7440..6a79129 100644 --- a/src/report/ReportPoll.ts +++ b/src/report/ReportPoll.ts @@ -52,8 +52,7 @@ export class ReportPoll { this.getAbuseReports.bind(this), 60_000 // a minute in milliseconds ); - } - else { + } else { throw new InvalidStateError("poll already scheduled"); } }