Skip to content

Commit 65174f3

Browse files
refactor: fix code format
1 parent d2faa8a commit 65174f3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -920,7 +920,10 @@ export class RedisAdapter extends Adapter {
920920
*/
921921

922922
private getNumSub(): Promise<number> {
923-
if (this.pubClient.constructor.name === "Cluster" || this.pubClient.isCluster) {
923+
if (
924+
this.pubClient.constructor.name === "Cluster" ||
925+
this.pubClient.isCluster
926+
) {
924927
// Cluster
925928
const nodes = this.pubClient.nodes();
926929
return Promise.all(

0 commit comments

Comments
 (0)