Skip to content

Commit

Permalink
Update client.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Souvikns committed Sep 22, 2023
1 parent c7d50d0 commit 35a7c68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adapters/ws/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class WsClientAdapter extends Adapter {
const channels = []
for (const channel of this.channelNames) {
if (this.parsedAsyncAPI.channels().get(channel).bindings().get('ws')) {
if (this.parsedAsyncAPI.channels().get(channel).servers().length < 0) { // NOSONAR
if (this.parsedAsyncAPI.channels().get(channel).servers().length !== 0) { // NOSONAR
if (
this.parsedAsyncAPI
.channels().get(channel)
Expand Down

0 comments on commit 35a7c68

Please sign in to comment.