Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

Commit

Permalink
chore: shards startup formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
KagChi committed Feb 13, 2024
1 parent 28b2366 commit 7565f44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ console.log(
` Nezu Gateway: v${packageJson.version}`,
` ├ ReplicaId: ${replicaId}`,
` ├ ReplicaCount: ${replicaCount}`,
` ├ Shards: ${shardIds ? range(shardIds.start, shardIds.end!, 1).toString() : range(0, (gateway.ws.options.shardCount ?? 1) - 1, 1).toString()}`,
` ├ Shards: ${shardIds ? range(shardIds.start, shardIds.end!, 1).join(", ") : range(0, (gateway.ws.options.shardCount ?? 1) - 1, 1).join(", ")}`,
` └ ShardCount: ${gateway.ws.options.shardCount ?? 1} shards`
]
})
Expand Down

0 comments on commit 7565f44

Please sign in to comment.