Fix lint max length

auto_join_3.3
Mészáros Mihály 2020-05-14 09:16:42 +02:00
parent a1d348eefc
commit b89bb3a513
1 changed files with 4 additions and 2 deletions

View File

@ -59,7 +59,8 @@ export default class Spotlights extends EventEmitter
peerId = this._unmutablePeerList[0];
}
if (peerId != null && this._currentSpotlights.length < this._unmutablePeerList.length)
if (peerId != null &&
this._currentSpotlights.length < this._unmutablePeerList.length)
{
const oldIndex = this._unmutablePeerList.indexOf(peerId);
@ -101,7 +102,8 @@ export default class Spotlights extends EventEmitter
peerId = this._unmutablePeerList[0];
}
if (peerId != null && this._currentSpotlights.length < this._unmutablePeerList.length)
if (peerId != null &&
this._currentSpotlights.length < this._unmutablePeerList.length)
{
const oldIndex = this._unmutablePeerList.indexOf(peerId);