chore(server-sdk): fix lint warn

This commit is contained in:
藍+85CD
2025-11-02 12:55:10 +08:00
parent 03cd3ff5fd
commit 6d3ef728fb
+5 -1
View File
@@ -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()
}
})