chore(server-sdk): fix lint warn
This commit is contained in:
@@ -135,7 +135,11 @@ export class Client<C = undefined> {
|
||||
this.connecting = false
|
||||
this.connected = true
|
||||
|
||||
this.opts.token ? this.tryAuthenticate() : this.tryAnnounce()
|
||||
if (this.opts.token)
|
||||
this.tryAuthenticate()
|
||||
else
|
||||
this.tryAnnounce()
|
||||
|
||||
resolve()
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user