EventIndex: Fix some lint issues.

This commit is contained in:
Damir Jelić 2020-01-21 16:40:32 +01:00
parent 8e26268079
commit a2892f5b02
3 changed files with 3 additions and 11 deletions

View file

@ -470,8 +470,8 @@ export default class EventIndex {
/**
* Get the room that we are currently crawling.
*
* @returns A MatrixRoom that is being currently crawled, null if no room is
* currently being crawled.
* @returns {Room} A MatrixRoom that is being currently crawled, null
* if no room is currently being crawled.
*/
currentRoom() {
if (this._currentCheckpoint === null && this.crawlerCheckpoints.length === 0) {